Basic FreeType renderer implementation.
[gdipp.git] / gdipp_server / freetype.h
blob6fa2b6e30c0739c79e46587464ae54fbc6d51ba3
1 #pragma once
3 namespace gdipp
6 extern FT_Library ft_lib;
7 extern FTC_Manager ft_cache_man;
8 extern FTC_ImageCache ft_glyph_cache;
9 extern FT_Glyph empty_outline_glyph;
11 void initialize_freetype();
12 void destroy_freetype();
13 FT_Error face_requester(FTC_FaceID face_id, FT_Library library, FT_Pointer request_data, FT_Face *aface);
14 int get_freetype_kern(const FTC_Scaler scaler, WORD left_glyph, WORD right_glyph);
15 FT_Glyph make_empty_outline_glyph();