mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 11:51:27 +00:00
* Source/cairo/CairoFontInfo.m (-setupAttributes):
use CAIRO_HINT_METRICS_ON instead of CAIRO_HINT_METRICS_OFF, otherwise some text is cut of (e.g. quit Ink with unsaved changes, the "t" in "Quit" in the dialog is cut off) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34613 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9d52d255cb
commit
088912afe1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2012-01-23 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/cairo/CairoFontInfo.m (-setupAttributes):
|
||||
use CAIRO_HINT_METRICS_ON instead of CAIRO_HINT_METRICS_OFF,
|
||||
otherwise some text is cut of (e.g. quit Ink with unsaved
|
||||
changes, the "t" in "Quit" in the dialog is cut off)
|
||||
|
||||
2012-01-23 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/cairo/CairoFontInfo.m (-setupAttributes):
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
// (-advancementForGlyph:), we need to ensure that the same
|
||||
// hinting settings are used there as when we draw. For now,
|
||||
// just force hinting to be off.
|
||||
cairo_font_options_set_hint_metrics(options, CAIRO_HINT_METRICS_OFF);
|
||||
cairo_font_options_set_hint_metrics(options, CAIRO_HINT_METRICS_ON);
|
||||
cairo_font_options_set_hint_style(options, CAIRO_HINT_STYLE_NONE);
|
||||
|
||||
_scaled = cairo_scaled_font_create(face, &font_matrix, &ctm, options);
|
||||
|
|
Loading…
Reference in a new issue