diff options
author | Tor Lillqvist <tml@iki.fi> | 2001-11-21 22:56:22 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2001-11-21 22:56:22 +0000 |
commit | e514428409d3bd9a0bfa5a66856b0f590fd771ad (patch) | |
tree | 6beb0b607f7c96746aaea51e2186f20360cb1c91 /pango/pangowin32-fontcache.c | |
parent | a57a0fe0c63407e07b2bc75066a675803869974b (diff) | |
download | pango-e514428409d3bd9a0bfa5a66856b0f590fd771ad.tar.gz |
Always turn on anti-aliasing.
2001-11-22 Tor Lillqvist <tml@iki.fi>
* pango/pangowin32-fontcache.c (pango_win32_font_cache_load):
Always turn on anti-aliasing.
2001-11-21 Tor Lillqvist <tml@iki.fi>
* pango/testfonts.c: Fix a couple of bugs, update for current
Pango API. It's not completely clear to me what the program is
supposed to do with the command line args. It does load a
matching font, but does nothing with it. It then always lists
*all* font families, and renders a string in each. This causes
a huge image with associated swapping to death if you have
lots of fonts... I added a restriction, only the first 10
fonts are rendered.
Diffstat (limited to 'pango/pangowin32-fontcache.c')
-rw-r--r-- | pango/pangowin32-fontcache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangowin32-fontcache.c b/pango/pangowin32-fontcache.c index 8bdf15d3..e09dd79d 100644 --- a/pango/pangowin32-fontcache.c +++ b/pango/pangowin32-fontcache.c @@ -185,6 +185,8 @@ pango_win32_font_cache_load (PangoWin32FontCache *cache, else { lf = *lfp; + /* Always turn on anti-aliasing */ + lf.lfQuality = ANTIALIASED_QUALITY; for (tries = 0; ; tries++) { #if 0 |