Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
xorg-x11-libs
p_xft_cjk.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File p_xft_cjk.diff of Package xorg-x11-libs
--- src/xftfreetype.c +++ src/xftfreetype.c @@ -387,6 +387,7 @@ FcChar32 hash, *hashp; FT_Face face; int nhash; + FcBool bitmap; if (!info) return FcFalse; @@ -509,8 +510,22 @@ */ fi->load_flags = FT_LOAD_DEFAULT; +#ifndef XFT_EMBEDDED_BITMAP +#define XFT_EMBEDDED_BITMAP "embeddedbitmap" +#endif + + switch (FcPatternGetBool (pattern, XFT_EMBEDDED_BITMAP, 0, &bitmap)) { + case FcResultNoMatch: + bitmap = FcFalse; + break; + case FcResultMatch: + break; + default: + goto bail1; + } + /* disable bitmaps when anti-aliasing or transforming glyphs */ - if (fi->antialias || fi->transform) + if ((!bitmap && fi->antialias) || fi->transform) fi->load_flags |= FT_LOAD_NO_BITMAP;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor