277 Commits

Author SHA1 Message Date
Dmitry Timoshkov
8c22e66217 gdi32/tests: Fix font tests compilation with __WINESRC__ defined. 2013-10-17 10:46:51 +02:00
Akihiro Sagawa
0b58ab7ac9 gdi32/tests: Skip linked font like SimSun-ExtB in fixed-pitch font selection. 2013-10-09 10:08:06 +02:00
Akihiro Sagawa
88acc9c899 gdi32: Don't modify output glyph metrics unless the function succeeds. 2013-10-03 20:06:51 +02:00
Akihiro Sagawa
042b39a82b gdi32: Fix the B spacing value of empty glyph. 2013-10-02 20:17:03 +02:00
Akihiro Sagawa
db86409db6 gdi32: Return fake BBox when requesting empty glyph metrics. 2013-10-01 19:26:17 +02:00
Akihiro Sagawa
24e0e4d150 gdi32/tests: Fix copy&paste issues related to gmBlackBoxY. 2013-10-01 19:25:25 +02:00
Francois Gouget
d3672524ed Assorted spelling fixes. 2013-10-01 19:09:08 +02:00
Akihiro Sagawa
e2bce62a6d gdi32: Return GDI_ERROR when requested empty glyph bitmaps. 2013-09-26 19:56:57 +02:00
Akihiro Sagawa
cc7b39681d gdi32/tests: Add more empty glyph tests. 2013-09-23 20:32:23 +02:00
Aric Stewart
3f4ef58b0f gdi32: ABC value signs remain the same despite any changes in layout direction or viewport. 2013-09-12 21:31:09 +02:00
Aric Stewart
4a300d2423 gdi32: GetCharWidth32A/W return positive widths for all layouts and various DC transforms. 2013-09-11 18:33:04 +02:00
Huw Davies
774f57ca24 gdi32/tests: Add vdmx tests. 2013-08-28 16:14:40 +02:00
Huw Davies
7310bdb498 gdi32/tests: Mark some tests as exact. 2013-08-28 16:14:40 +02:00
Huw Davies
18edb16ace gdi32/tests: Add an option to match metrics exactly. 2013-08-28 16:14:38 +02:00
Huw Davies
820c14cafc gdi32/tests: Separate out the metrics checking code. 2013-08-28 16:14:38 +02:00
Huw Davies
2f76829c84 gdi32/tests: Split write_ttf_file() into a resource loader and tmp file writer. 2013-08-28 16:14:37 +02:00
Huw Davies
cf9cb6c118 gdi32: Ignore max_extent if nfit is NULL. 2013-07-22 17:16:04 +02:00
Aric Stewart
37d216cc56 gdi32/tests: Add a test case for vertical fonts enumeration order. 2013-06-20 22:14:35 +02:00
Dmitry Timoshkov
705a0f0238 gdi32: Scale default GUI fonts to match screen resolution changes. 2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
6834a44dc4 gdi32/tests: Add a test for default font height scaling with screen resolution changes. 2013-06-17 19:30:49 +02:00
Dmitry Timoshkov
288f3be439 gdi32/tests: Skip the bitmap font max width test on not 96 dpi resolutions. 2013-06-17 19:30:48 +02:00
Aric Stewart
ceb81eee20 gdi32: Turn off tategaki if the unicode code point is outside of the rotated ranges. 2013-06-05 20:30:58 +02:00
Aric Stewart
3108f3cf3d gdi32/tests: Do not try to test OS/2 win metrics on non-windows fonts. 2013-05-29 18:12:54 +02:00
Aric Stewart
546c587036 gdi32: GetGlyphIndices does substitute glyph. 2013-05-20 12:06:25 +02:00
Aric Stewart
adfa3c0c57 gdi32/tests: Update the vertical font to be a proper windows vertical font. 2013-05-20 12:06:21 +02:00
Akihiro Sagawa
8f8363ede6 gdi32: Ignore the lfHeight value when it exceeds the limit. 2013-05-08 14:29:06 +02:00
Sam Edwards
21dbe1c949 gdi32: Clip font glyphs to fit within text metrics. 2013-05-02 12:32:53 +02:00
Akihiro Sagawa
f50e649578 gdi32/tests: Fix tests for fixed-pitch full-width character advance. It's double of tmAveCharWidth.
For instance, 19 ppem "VL Gothic" on Windows, the advance value is 10
for half-width characters, but 18 for full-width characters.  In this
case, tmAveCharWidth is 9. Thus using tmAveCharWidth is reasonable.
2013-04-04 19:39:00 +02:00
Alexandre Julliard
591a31ba67 gdi32: Increment the face refcount when loading the same font file multiple times. 2013-03-04 11:36:04 +01:00
Byeongsik Jeon
1c846e70f0 gdi32: Fix the GdiGetCodePage() support ANSI_CHARSET font associated charset. 2013-02-27 19:23:44 +01:00
Akihiro Sagawa
9aa8300f99 gdi32: Ensure a fixed-pitch full-width character has double advance of a half-width character. 2013-02-07 15:53:48 +01:00
Alexandre Julliard
8681774a4f gdi32: Support for hidden flag of CreateScalableFontResource. 2013-01-15 14:30:35 +01:00
Alexandre Julliard
46532e8d8a gdi32: Add support for .fot files in RemoveFontResource. 2013-01-15 14:30:35 +01:00
Alexandre Julliard
4fc8bf18f3 gdi32: Implement RemoveFontResource. 2013-01-15 14:30:22 +01:00
Alexandre Julliard
1c2f23cf2f gdi32: Add helper functions for GetTextExtentExPoint and fix handling of text justification. 2012-12-18 19:21:44 +01:00
Alexandre Julliard
351e58318a gdi32: Fix text justification to properly handle logical coordinates. 2012-12-11 20:45:38 +01:00
Piotr Caban
4f07c49547 gdi32: Added GetGlyphOutlineW tests on glyph that contains empty contour. 2012-11-13 16:57:02 +01:00
Qian Hong
648a8ce40e gdi32/tests: Fixed typo in localized name tests. 2012-10-19 11:18:20 +02:00
Qian Hong
16f2a1948e gdi32/tests: Declared system_lang_id as a global variable. 2012-10-19 11:18:11 +02:00
Qian Hong
f9546329b6 gdi32/tests: Marked EnumFontFamiliesEx_default_charset test on Arabic locale as broken. 2012-10-19 11:17:59 +02:00
Qian Hong
284b382aba gdi32/tests: Skip some broken bitmap font metrics tests on Arabic locale. 2012-10-19 11:17:47 +02:00
Qian Hong
b31dababde gdi32/tests: Fixed broken value in bitmap font metrics on Arabic locale. 2012-10-19 11:17:38 +02:00
Qian Hong
ec9166b1ac gdi32/tests: Fixed broken bitmap font metrics test on CJK locales. 2012-10-19 11:17:25 +02:00
Qian Hong
416664babd gdi32/tests: Fixed broken value in bitmap font metrics on Japanese locale. 2012-10-19 11:17:15 +02:00
Qian Hong
df8be7b81a gdi32: Prepend at in get_outline_text_metrics for vertical fonts. 2012-09-12 16:04:53 +02:00
Qian Hong
2f76f35e46 gdi32/tests: Added more tests for vertical fonts. 2012-09-12 16:04:47 +02:00
Qian Hong
97904fd1ff gdi32: Prepend at when create vertical font face. 2012-09-12 16:04:34 +02:00
Qian Hong
8f91b51674 gdi32/tests: Added tests for vertical fonts. 2012-09-12 16:04:25 +02:00
Qian Hong
6c1e264e8e gdi32: Fixed localized font full name (UNIQUE ID). 2012-09-12 16:04:03 +02:00
Qian Hong
de5972081e gdi32: Fixed get_name_table_entry for symbol fonts. 2012-09-11 11:15:33 +02:00