Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 151909 Details for
Bug 235554
Fonts with embedded bitmaps does not display well unless antialiasing is turned off
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
fontconfig configuration file used in the workaround
26-emb-bitmaps.conf (text/plain), 1.71 KB, created by
r6144
on 2007-04-07 07:45:22 UTC
(
hide
)
Description:
fontconfig configuration file used in the workaround
Filename:
MIME Type:
Creator:
r6144
Created:
2007-04-07 07:45:22 UTC
Size:
1.71 KB
patch
obsolete
><?xml version="1.0"?> ><!DOCTYPE fontconfig SYSTEM "fonts.dtd"> ><fontconfig> ><!-- >Something (not necessarily Freetype, more likely the cairo or xrender, as ftview does not show this problem, pango-view shows the second problem, while >ordinary GNOME applications have both problems) seems to go >wrong if antialiasing is turned on for SimSun fonts when embedded bitmaps are also usable: if we use subpixel antialiasing the Chinese (which do have >embedded bitmaps) disappear, and if we use grayscale antialiasing the numbers (particularly "4") look very ugly because they have no embedded bitmaps >and appear to be rendered with neither antialiasing nor hinting (or maybe the antialiased rendering is directly converted to bitmaps). > >To work around these two problems, when we have embedded bitmaps, we turn off antialiasing and turn on hinting. --> > > <match target="font"> > <test name="family"> > <string>NSimSun</string> > </test> > <test name="pixelsize" compare="more_eq"> > <double>12</double> > </test> > <test name="pixelsize" compare="less_eq"> > <double>16</double> > </test> > <edit name="hinting"> > <bool>true</bool> > </edit> > <edit name="antialias"> > <bool>false</bool> > </edit> > </match> > <!-- It is cleanest to disable embedded bitmaps for other sizes --> > <match target="font"> > <test name="family"> > <string>NSimSun</string> > </test> > <test name="pixelsize" compare="less"> > <double>12</double> > </test> > <edit name="embeddedbitmap"> > <bool>false</bool> > </edit> > </match> > <match target="font"> > <test name="family"> > <string>NSimSun</string> > </test> > <test name="pixelsize" compare="more"> > <double>16</double> > </test> > <edit name="embeddedbitmap"> > <bool>false</bool> > </edit> > </match> ></fontconfig>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 235554
: 151909