Home
last modified time | relevance | path

Searched refs:ft_glyph (Results 1 – 11 of 11) sorted by relevance

/dports/graphics/aseprite/aseprite-1.2.9/src/ft/
H A Dface.h21 FT_Glyph ft_glyph; member
125 FT_Glyph ft_glyph; in loadGlyph() local
126 err = FT_Get_Glyph(face->glyph, &ft_glyph); in loadGlyph()
130 if (ft_glyph->format != FT_GLYPH_FORMAT_BITMAP) { in loadGlyph()
133 FT_Done_Glyph(ft_glyph); in loadGlyph()
138 m_glyph.ft_glyph = ft_glyph; in loadGlyph()
147 FT_Done_Glyph(glyph->ft_glyph); in doneGlyph()
162 FT_Done_Glyph(it.second->ft_glyph); in invalidate()
179 FT_Glyph_Copy(glyph->ft_glyph, &new_ft_glyph); in loadGlyph()
184 newGlyph->ft_glyph = new_ft_glyph; in loadGlyph()
[all …]
H A Dalgorithm.h55 x += glyph->ft_glyph->advance.x / double(1 << 16); in glyphAdvanceXY()
56 y += glyph->ft_glyph->advance.y / double(1 << 16); in glyphAdvanceXY()
124 m_glyph->bitmap = &FT_BitmapGlyph(m_glyph->ft_glyph)->bitmap; in prepareGlyph()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/FreeType/
H A DFontFaceHandle.cpp358 glyph.dimensions.x = ft_glyph->metrics.width >> 6; in BuildGlyph()
359 glyph.dimensions.y = ft_glyph->metrics.height >> 6; in BuildGlyph()
366 glyph.advance = ft_glyph->metrics.horiAdvance >> 6; in BuildGlyph()
369 glyph.bitmap_dimensions.x = ft_glyph->bitmap.width; in BuildGlyph()
370 glyph.bitmap_dimensions.y = ft_glyph->bitmap.rows; in BuildGlyph()
377 ft_glyph->bitmap.pixel_mode != FT_PIXEL_MODE_GRAY) in BuildGlyph()
380 …ace '%s %s'; unsupported pixel mode (%d).", ft_glyph->face->family_name, ft_glyph->face->style_nam… in BuildGlyph()
386 byte* source_bitmap = ft_glyph->bitmap.buffer; in BuildGlyph()
390 switch (ft_glyph->bitmap.pixel_mode) in BuildGlyph()
415 source_bitmap += ft_glyph->bitmap.pitch; in BuildGlyph()
[all …]
H A DFontFaceHandle.h108 void BuildGlyph(FontGlyph& glyph, FT_GlyphSlot ft_glyph);
/dports/graphics/freetype-gl/freetype-gl-647b062/harfbuzz/
H A Dtexture-font.c290 FT_Glyph ft_glyph;
405 error = FT_Get_Glyph( self->ft_face->glyph, &ft_glyph);
416 error = FT_Glyph_Stroke( &ft_glyph, stroker, 1 );
418 error = FT_Glyph_StrokeBorder( &ft_glyph, stroker, 0, 1 );
420 error = FT_Glyph_StrokeBorder( &ft_glyph, stroker, 1, 1 );
433 error = FT_Glyph_To_Bitmap( &ft_glyph, FT_RENDER_MODE_NORMAL, 0, 1);
445 error = FT_Glyph_To_Bitmap( &ft_glyph, FT_RENDER_MODE_LCD, 0, 1);
456 ft_bitmap_glyph = (FT_BitmapGlyph) ft_glyph;
494 FT_Done_Glyph( ft_glyph );
/dports/math/curv/curv-0.5/extern/imgui/misc/freetype/
H A Dimgui_freetype.cpp103 …bool CalcGlyphInfo(uint32_t codepoint, GlyphInfo& glyph_info, FT_Glyph& ft_glyph, FT_Bitmap…
183 …bool FreeTypeFont::CalcGlyphInfo(uint32_t codepoint, GlyphInfo &glyph_info, FT_Glyph& ft_glyph, FT… in CalcGlyphInfo() argument
202 error = FT_Get_Glyph(slot, &ft_glyph); in CalcGlyphInfo()
207 error = FT_Glyph_To_Bitmap(&ft_glyph, FT_RENDER_MODE_NORMAL, NULL, true); in CalcGlyphInfo()
211 ft_bitmap = (FT_BitmapGlyph)ft_glyph; in CalcGlyphInfo()
343 FT_Glyph ft_glyph = NULL; in BuildFontAtlas() local
346 if (!font_face.CalcGlyphInfo(codepoint, glyph_info, ft_glyph, ft_glyph_bitmap)) in BuildFontAtlas()
358 FT_Done_Glyph(ft_glyph); in BuildFontAtlas()
/dports/devel/nextpnr/nextpnr-48cd407/3rdparty/imgui/misc/freetype/
H A Dimgui_freetype.cpp103 …bool CalcGlyphInfo(uint32_t codepoint, GlyphInfo& glyph_info, FT_Glyph& ft_glyph, FT_Bitmap…
183 …bool FreeTypeFont::CalcGlyphInfo(uint32_t codepoint, GlyphInfo &glyph_info, FT_Glyph& ft_glyph, FT… in CalcGlyphInfo() argument
202 error = FT_Get_Glyph(slot, &ft_glyph); in CalcGlyphInfo()
207 error = FT_Glyph_To_Bitmap(&ft_glyph, FT_RENDER_MODE_NORMAL, NULL, true); in CalcGlyphInfo()
211 ft_bitmap = (FT_BitmapGlyph)ft_glyph; in CalcGlyphInfo()
343 FT_Glyph ft_glyph = NULL; in BuildFontAtlas() local
346 if (!font_face.CalcGlyphInfo(codepoint, glyph_info, ft_glyph, ft_glyph_bitmap)) in BuildFontAtlas()
358 FT_Done_Glyph(ft_glyph); in BuildFontAtlas()
/dports/devel/lasi/libLASi-1.1.3/src/
H A Dutil.cpp63 ostream& operator<<(ostream& os, const FT_Glyph ft_glyph) { in operator <<() argument
64 os << "ft_glyph=" << hex << (unsigned char&)ft_glyph << dec << endl; in operator <<()
65 os << "glyph format is " << glyph_format_to_string(ft_glyph->format) << endl; in operator <<()
/dports/graphics/freetype-gl/freetype-gl-647b062/
H A Dtexture-font.c413 FT_Glyph ft_glyph; in texture_font_load_glyph() local
553 error = FT_Get_Glyph( face->glyph, &ft_glyph); in texture_font_load_glyph()
563 error = FT_Glyph_Stroke( &ft_glyph, stroker, 1 ); in texture_font_load_glyph()
565 error = FT_Glyph_StrokeBorder( &ft_glyph, stroker, 0, 1 ); in texture_font_load_glyph()
567 error = FT_Glyph_StrokeBorder( &ft_glyph, stroker, 1, 1 ); in texture_font_load_glyph()
577 error = FT_Glyph_To_Bitmap( &ft_glyph, FT_RENDER_MODE_NORMAL, 0, 1); in texture_font_load_glyph()
579 error = FT_Glyph_To_Bitmap( &ft_glyph, FT_RENDER_MODE_LCD, 0, 1); in texture_font_load_glyph()
588 ft_bitmap_glyph = (FT_BitmapGlyph) ft_glyph; in texture_font_load_glyph()
689 FT_Done_Glyph( ft_glyph ); in texture_font_load_glyph()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/lib/libRocket/Source/Core/BitmapFont/
H A DFontFaceHandle.h119 void BuildGlyph(FontGlyph& glyph, CharacterInfo *ft_glyph);
/dports/x11-toolkits/pango/pango-1.48.11/pango/
H A Dpangoxft-font.c249 FT_UInt ft_glyph = glyph; in get_glyph_extents_xft() local
253 XftGlyphExtents (display, xft_font, &ft_glyph, 1, &extents); in get_glyph_extents_xft()