* Source/cairo/CairoFntInfo.m (-drawGlyphs:..., -setupAttributes):

Invert the value of matrix[2]. See bug #30493


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@35927 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2012-12-31 17:38:42 +00:00
parent 74b631fdb8
commit 035502afd9
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-12-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoFntInfo.m (-drawGlyphs:..., -setupAttributes):
Invert the value of matrix[2]. See bug #30493
2012-11-26 12:56-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/cairo/Win32CairoGState.h
@ -186,7 +191,7 @@
2012-01-23 Eric Wasylishen <ewasylishen@gmail.com>
* Source/cairo/CairoFontInfo.m (-setupAttributes):
* Source/cairo/CairoFntInfo.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)

View file

@ -93,7 +93,7 @@
/* setting GSFontInfo:
* xHeight, pix_width, pix_height
*/
cairo_matrix_init(&font_matrix, matrix[0], matrix[1], matrix[2],
cairo_matrix_init(&font_matrix, matrix[0], matrix[1], -matrix[2],
matrix[3], matrix[4], matrix[5]);
//cairo_matrix_scale(&font_matrix, 0.9, 0.9);
cairo_matrix_init_identity(&ctm);
@ -494,7 +494,7 @@ BOOL _cairo_extents_for_NSGlyph(cairo_scaled_font_t *scaled_font, NSGlyph glyph,
return;
}
cairo_matrix_init(&font_matrix, matrix[0], matrix[1], matrix[2],
cairo_matrix_init(&font_matrix, matrix[0], matrix[1], -matrix[2],
matrix[3], matrix[4], matrix[5]);
cairo_set_font_matrix(ct, &font_matrix);
if (cairo_status(ct) != CAIRO_STATUS_SUCCESS)