Akihiro Sagawa
7444c1d6b0
gdi32: Adjust bitmap font height when it has an external leading.
...
This fixes wine test failures in Japanese locale.
2013-07-31 22:26:56 +02:00
Akihiro Sagawa
dc241a8371
gdi32: Add a helper function to get bitmap size.
2013-07-31 22:26:56 +02:00
Akihiro Sagawa
01280cff91
Revert "gdi32: Use the default character when the glyph is missing.".
...
This reverts commit 15aa8daf64
.
It breaks the default character rendering in some bitmap fonts, e.g. Fixedsys.
2013-07-31 22:26:56 +02:00
Huw Davies
cf9cb6c118
gdi32: Ignore max_extent if nfit is NULL.
2013-07-22 17:16:04 +02:00
André Hentschel
20bf02910b
gdi32: Remove superfluous cast.
2013-07-01 19:51:23 +02:00
Alexandre Julliard
60d29d1d0d
gdi32: Don't load linked fonts only to look up control characters.
2013-07-01 19:51:17 +02:00
Alexandre Julliard
a973df3324
gdi32: Fix off-by-one error in the extent of arcs when the size is even.
2013-07-01 19:51:14 +02:00
Alexandre Julliard
e4300d6165
gdi32: Cache the font smoothing parameters.
2013-06-24 21:52:28 +02:00
Marcus Meissner
ff1bd6da35
gdi32: Close handle in mfdrv (Coverity).
2013-06-24 11:46:40 +02:00
Marcus Meissner
1cf9939dc0
gdi32: Close handle in error path (Coverity).
2013-06-24 11:46:34 +02:00
Aric Stewart
37d216cc56
gdi32/tests: Add a test case for vertical fonts enumeration order.
2013-06-20 22:14:35 +02:00
Alexandre Julliard
e531306f7a
gdi32: Put vertical font families after their horizontal counterpart in the font list.
2013-06-20 22:14:35 +02:00
Alexandre Julliard
102b2785f4
gdi32: Add support for loading name strings in Apple Unicode format.
2013-06-20 22:14:35 +02:00
Alexandre Julliard
3d0f044883
gdi32: Add support for loading name strings in Macintosh format.
2013-06-20 22:14:34 +02:00
Alexandre Julliard
b05b637c91
gdi32: Improve font name localization by not requiring a strict language match.
2013-06-20 22:14:32 +02:00
Dmitry Timoshkov
924fad9d25
gdi32: ExtSelectClipRgn(hdc, 0, RGN_DIFF) is supposed to fail.
2013-06-18 10:40:34 +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
f5ec65ad8e
gdi32: Update Arabic font defaults.
...
With help from Mosaab Alzoubi <moceap@hotmail.com>.
2013-06-11 18:07:59 +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
Matěj Laitl
84c07af48e
gdi32: More specific error messages in osmesa opengl initialization.
2013-05-30 20:19:32 +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
72f584aef8
gdi32: Fix up glyph metrics for tategaki glyphs.
2013-05-28 19:42:24 +02:00
Aric Stewart
cf891b04a0
gdi32: Fix Tategaki rotation.
...
Tategaki does not ignore orientation rotation, instead it always
rotates affect glyphs by 90 degrees inside their cell.
2013-05-28 19:42:15 +02:00
Akihiro Sagawa
15aa8daf64
gdi32: Use the default character when the glyph is missing.
2013-05-22 19:32:26 +02:00
Akihiro Sagawa
f6ea5c8a0f
gdi32: Add a helper to get the default character index.
2013-05-22 19:32:23 +02:00
Aric Stewart
1ff63bb893
gdi32: Vertical glyphs can be written tategaki even without a vertical GSUB feature.
...
It is only based on the presence of the '@' character in the font name.
2013-05-21 12:07:43 +02:00
Aric Stewart
accad0957c
gdi32: Load the vertical feature when loading the GSUB table.
2013-05-21 12:07:30 +02:00
Aric Stewart
70cdd2ff9a
gdi32: Vertical glyph replacements are not applied in GetGlyphOutline if glyph is specified by index.
2013-05-21 12:06:42 +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
Alexandre Julliard
100806e473
configure: Use the pkg-config helper macro for freetype.
2013-05-03 20:45:32 +02:00
Sam Edwards
21dbe1c949
gdi32: Clip font glyphs to fit within text metrics.
2013-05-02 12:32:53 +02:00
Sam Edwards
a7dee44c24
gdi32: Improve glyph positioning for the subpixel case in get_glyph_outline.
2013-05-02 12:31:13 +02:00
Sam Edwards
53ec9b3291
gdi32: Prevent another possible buffer overflow in get_glyph_outline.
2013-04-30 12:34:27 +02:00
Alexandre Julliard
31f0079f1c
gdi32: Convert the edges list to a standard list in CreatePolyPolygonRgn.
2013-04-23 15:34:53 +02:00
Alexandre Julliard
6a9b775f36
gdi32: Add helper functions to manage blocks of points in CreatePolyPolygonRgn.
2013-04-22 21:57:32 +02:00
Alexandre Julliard
a34c6f436d
gdi32: Replace some macros by inline functions in the region code.
2013-04-22 21:40:05 +02:00
Sam Edwards
147765a505
gdi32: Prevent possible buffer overflows in get_glyph_outline.
2013-04-19 10:42:36 +02:00
André Hentschel
741f7b6f0c
gdi32: Copy gamma ramp validation from winex11 to make it driver independent.
2013-04-17 16:31:31 +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
Akihiro Sagawa
e5f1508031
gdi32: Improve fixed-pitch advance calculation as well as outline text metrics.
2013-04-04 19:38:46 +02:00
Akihiro Sagawa
3a96891061
gdi32: Improve outline text metrics calculation, especially if unitsPerEm is not power of 2.
2013-04-04 19:38:43 +02:00
Akihiro Sagawa
786b931e45
gdi32: Introduce macros to calculate outline text metrics.
2013-04-04 19:38:40 +02:00
Alexandre Julliard
2f48b12c57
gdi32: Use the Mac driver by default.
2013-04-02 12:47:28 +02:00
Huw Davies
5713311657
gdi32: Printer drivers don't use the character extra spacing if lpdx is supplied.
2013-03-26 17:07:37 +01:00
Dmitry Timoshkov
8744c10a38
gdi32: Add support for disk-based metafiles to GetMetaFileBitsEx.
2013-03-25 13:56:09 +01: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