Charles A. Landemaine
2007-Jan-09 09:44 UTC
[Fontconfig] How to display bold fonts less bold?
I''d like to display bold fonts less bold because they look too dirty and hard to read. I tried the following snippet but I don''t see any difference: <match target="font" > <test name="weight" compare="more"> <int>100</int> </test> <edit mode="assign" name="weight" > <const>100</const> </edit> </match> How would you do? Can I do it, if not, can we make normal fonts a little bit bolder and use them instead of bold fonts? How can I do it? Thanks, -- Charles A. Landemaine.
Le mardi 09 janvier 2007 ? 15:44 -0200, Charles A. Landemaine a ?crit :> I''d like to display bold fonts less bold because they look too dirty > and hard to read. I tried the following snippet but I don''t see any > difference: > > <match target="font" > > <test name="weight" compare="more"> > <int>100</int> > </test> > <edit mode="assign" name="weight" > > <const>100</const> > </edit> > </match> > > How would you do? Can I do it, if not, can we make normal fonts a > little bit bolder and use them instead of bold fonts? How can I do it? > Thanks,On-screen fonts line widths are rounded to the next absolute pixel value. Since current screens: 1. have very poor pixel density 2. have *different* pixel densities it''s very difficult to predict when this rounding will occur. The font that seems thin to you may be bold for your neighbour, just because he has slightly smaller pixels and the rounding gives 2-pixel-width on his screen and 1 on yours. There''s basically no way to give good results to everyone till screen pixel density increases. The attempts to compensate in software typically degrade in blurry/dirty fonts at small sizes (just your complaint) Are fonts blurry at big sizes? If not that just mean on your hardware pixel density is too bad to display small sizes crisply (you have the same effect for text ? 10 on TV screens) -- Nicolas Mailhot -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20070109/01a804ba/attachment.pgp
On 2007/01/09 15:44 (GMT-0200) Charles A. Landemaine apparently typed:> I''d like to display bold fonts less bold because they look too dirty > and hard to read....> Can I do it, if not, can we make normal fonts a > little bit bolder and use them instead of bold fonts? How can I do it?Most fonts used on puters come in only 2 weights, normal and bold. Nicolas Mailhot''s reply touched on the reason why. The best workaround if you aren''t using a flat panel display at its normal resolution is to raise the resolution to the maximum your hardware supports. Higher resolutions provide more px per character to work with, and thus look better and have a more uniform weight at any given physical size. http://mrmazda.no-ip.com/auth/Font/fonts-comps-commonweight.html and/or http://mrmazda.no-ip.com/auth/Font/fonts-weights.html might help you visualize. -- "I have come that they may have life, and have it to the full." John 10:10 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/