[cairo] how to enable font aliasing
LRN
lrn1986 at gmail.com
Wed Mar 25 01:11:37 PDT 2015
On 25.03.2015 10:14, Dan Raymond wrote:
> On 3/25/2015 12:44 AM, LRN wrote:
>> Stupid question: Are you using Windows pangocairo backend (as opposed to
>> Fontconfig backend), and if so, do you have ClearType enabled?
>
> I built cairo as follows:
>
> ./configure --build=i686-w64-mingw32 --disable-xlib --disable-xcb
> make
> make install
>
> configure reported the following:
>
> The following font backends:
> User: yes (always builtin)
> FreeType: yes
> Fontconfig: yes
> Win32: yes
> Quartz: no (requires CoreGraphics framework)
>
> I built pango as follows:
>
> ./configure --build=i686-w64-mingw32 --with-included_modules
> make
> make install
>
> When building my application I used:
>
> `pkg-config --cflags --libs glib-2.0 pangocairo`
Currently upstream pangocairo changes its backend depending on the
PANGOCAIRO_BACKEND environment variable (set it to 'fc' to use the fontconfig
backend on Windows). fc is configured by config files in <prefix>/etc/fonts.
If you're using GTK3, also check the <prefix>/etc/gtk-3.0/settings.ini
(specifically - gtk-xft-antialias).
>
> I don't know about ClearType. How is that enabled/disabled?
>
%windir%\system32\cttune.exe
Or via the registry ( HKEY_CURRENT_USER\Control Panel\Desktop , the
FontSmoothing* family of keys ).
I don't know whether ClearType has any effect on pangocairo, to be honest.
--
O< ascii ribbon - stop html email! - www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x922360B0.asc
Type: application/pgp-keys
Size: 1717 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150325/e53c6e13/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cairographics.org/archives/cairo/attachments/20150325/e53c6e13/attachment.sig>
More information about the cairo
mailing list