Bug 4763 - add embeddedbitmap rule to fontconfig.
Summary: add embeddedbitmap rule to fontconfig.
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 07:33 UTC by Jinghua Luo
Modified: 2006-02-21 07:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
this patch adds embeddedbitmap rule to fontconfig (2.57 KB, patch)
2005-10-13 07:35 UTC, Jinghua Luo
Details | Splinter Review

Description Jinghua Luo 2005-10-13 07:33:27 UTC
cut from my mail.
hi,
  I vote for adding embeddedbitmap option to official fontconfig.
  Several distros have shiped patched version of fontconfig which adds
an option like rh_prefer_bitmap or embeddedbitmap. Because we need a way
to explictly tell Xft/Cairo to load bitmaps embedded in fonts or not.
And for cairo, if i want to cairo transform a font to pretend as an
oblique one, and when i disable antialias for the font, then cairo will
always load embedded bitmaps if available, latter cairo(exactly to say
it's freetype) will be unable to transform the font glyphs because they
are bitmaps. If option embeddedbitmap is available, we can tell freetype
to load outlines rather than embedded bitmaps by set embeddedbitmap to
false and then can transform font glyphs as expected. Xft is smart
enough in this case, it add FC_LOAD_NO_BITMAP to load flags when loading
glyphs. But that is not easily to implement in cairo, because cairo
doesn't handle FC_MATRIX itself.
Comment 1 Jinghua Luo 2005-10-13 07:35:15 UTC
Created attachment 3553 [details] [review]
this patch adds embeddedbitmap rule to fontconfig
Comment 2 Patrick Lam 2006-02-22 02:42:08 UTC
I've committed this.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.