> There are some good looking programmer fonts without bold variant > available [1]. Makes those fonts little inconvenient for code > editors where bold is used as highlight. I went for > FT_GlyphSlot_Embolden, but it breaks the "monospaceness" of the > font. Is there a way to embolden the font without breaking the > monospaced font?
Embolden the glyph but use the original advance width. The glyph outline should be shifted to the left to compensate for the increased width: new_left_side_bearing = left_side_bearing - (new_advance_width - advance_width) / 2 (or something like that). Werner _______________________________________________ Freetype mailing list Freetype@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype