Bug 1165611 - fix font smoothing under Linux. r=karlt

This commit is contained in:
John Daggett 2015-05-19 14:30:55 +09:00
Родитель 1232fe7f4d
Коммит f195515695
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -722,6 +722,8 @@ static void ApplyGdkScreenFontOptions(FcPattern *aPattern);
static void
PreparePattern(FcPattern* aPattern, bool aIsPrinterFont)
{
FcConfigSubstitute(nullptr, aPattern, FcMatchPattern);
// This gets cairo_font_options_t for the Screen. We should have
// different font options for printing (no hinting) but we are not told
// what we are measuring for.