(In reply to comment #15) > (In reply to comment #14) > > Fontconfig doesn't know whether the text is being rendered to an LCD screen > > or > > a printer, so fontconfig needs to be told subpixel order and whether > > hinting is > > appropriate. > > I admit I don't know how printing specific rendering is being done. Is it that > antialiasing and hinting are turned off because printer resolution is much > higher than screen and it wouldn't make sense to leave them on? (no visible > effect?)
Not just that the printer resolution is higher, but the resolution may not even be known at the time of generating the PDF or PS output. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cairo in Ubuntu. https://bugs.launchpad.net/bugs/209256 Title: different hintstyle issue Status in libcairo - cairo vector graphics library: Confirmed Status in “cairo” package in Ubuntu: Triaged Bug description: I'd like to render my fonts in different hintstyles. To be precise, I have chinese font and western language fonts. For the chinese font, I'd like it to be rendered in hintfull, but for other fonts, I'd prefer hintslight. Ok, I configured in the fontconfig file, but it didn't make any change. All the fonts are in the same hintstyle, depending on the configuration in gnome-appearance-properties. I googled for quite a long time and finally I got one solution. In the file cairo-ft-font.c, in function _cairo_ft_options_merge, just comment the following line: // if (options->base.hint_style == CAIRO_HINT_STYLE_DEFAULT) and recompile, now everything works fine. The fonts are rendered according to the hintstyles configured in fontconfig. I don't know if this is really a bug of libcairo. If I'm wrong, please accept my apology. To manage notifications about this bug go to: https://bugs.launchpad.net/libcairo/+bug/209256/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

