Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can mozilla engine render bitmap fonts with kerning?

32 views
Skip to first unread message

ffnewbie1

unread,
Dec 29, 2011, 4:54:45 PM12/29/11
to
I'm able to embed bitmap font within a true type font file .ttf which
contains kerning table. Molizza firefox only uses the true type font
in the .ttf file, but not the embedded bitmap font. Is there a way
to ask the firefox to render text using the embedded bitmap font, and
apply the kerning as well? I already set
"browser.display.auto_quality_min_font_size" to 0, so that the kerning
effect should be applied for any font size, if it is used at all.

If not, is there a way for Molizza to apply kerning to bitmap font?
What kind of bitmap font file would preserve kerning info that Molizza
can be used? It looks like bdf and pcf can't have kerning info with it.

Karl Tomlinson

unread,
Aug 20, 2012, 8:01:10 PM8/20/12
to
On Thu, 29 Dec 2011 13:54:45 -0800 (PST), ffnewbie1 wrote:

> I'm able to embed bitmap font within a true type font file .ttf which
> contains kerning table. Molizza firefox only uses the true type font
> in the .ttf file, but not the embedded bitmap font. Is there a way
> to ask the firefox to render text using the embedded bitmap font, and
> apply the kerning as well? I already set
> "browser.display.auto_quality_min_font_size" to 0, so that the kerning
> effect should be applied for any font size, if it is used at all.

On Linux/X11 at least, embedded bitmaps should be used.
Check that the fontconfig property embeddedbitmap is not disabling
embedded bitmaps. On this platform, cairo also disables embedded
bitmaps if hinting is disabled and antialiasing is requested.

On all platforms, it may be worth experimenting with a TTF font
with embedded bitmaps but no outlines, assuming that is possible.
0 new messages