]> git.sesse.net Git - casparcg/blobdiff - core/producer/text/utils/texture_font.h
[text_producer] Don't upload texture atlas to GPU every time the text or tracking...
[casparcg] / core / producer / text / utils / texture_font.h
index 89662c134845e640b440d7e3cfd3aab4b26ec54f..11855adfaee4c14957a94795a8a0388af44607cd 100644 (file)
@@ -22,7 +22,7 @@ class texture_font
 public:
        texture_font(texture_atlas&, const text_info&, bool normalize_coordinates);
        void load_glyphs(unicode_block block, const color<double>& col);
-       void set_tracking(int tracking);
+       void set_tracking(double tracking);
        std::vector<frame_geometry::coord> create_vertex_stream(const std::wstring& str, int x, int y, int parent_width, int parent_height, string_metrics* metrics, double shear = 0.0);
        string_metrics measure_string(const std::wstring& str);
        std::wstring get_name() const;
@@ -257,4 +257,4 @@ enum class unicode_block
        Supplementary_Private_Use_Area_B
 };
 
-}}}
\ No newline at end of file
+}}}