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
Alexandre Julliard
93c1389b7c
gdi32: Store the font stat information when loading it.
2013-03-04 11:35:28 +01:00
Byeongsik Jeon
1c846e70f0
gdi32: Fix the GdiGetCodePage() support ANSI_CHARSET font associated charset.
2013-02-27 19:23:44 +01:00
Alexandre Julliard
eaf78eadf0
gdi32/tests: Define the required Windows version before including anything.
2013-02-18 14:51:04 +01:00
Dmitry Timoshkov
e069662c0c
gdi32: SelectClipPath should update actual clipping region for a EMF DC.
2013-02-15 11:50:32 +01:00
Dmitry Timoshkov
88b9ae1ec2
gdi32: ExcludeClipRect should update actual clipping region for a EMF DC.
2013-02-14 11:14:47 +01:00
Dmitry Timoshkov
47b89a8fac
gdi32: IntersectClipRect should update actual clipping region for a EMF DC.
2013-02-14 11:14:45 +01:00
Dmitry Timoshkov
756736ae42
gdi32: OffsetClipRgn should update actual clipping region for a EMF DC.
2013-02-14 11:14:43 +01:00
Dmitry Timoshkov
498b18f25f
gdi32: Add more EMF clipping tests.
2013-02-14 11:14:41 +01:00
Dmitry Timoshkov
9a2688e690
gdi32: Make sure that actual clipping region is updated for a EMF DC.
2013-02-13 16:13:54 +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
0d7108c629
gdi32: Return the correct module handle for the initial display driver load.
2013-02-06 12:21:33 +01:00
Dmitry Timoshkov
753c9362c1
gdi32: Add a bunch of tests for CreateDC/ResetDC with a custom DEVMODE.
2013-02-05 10:56:47 +01:00
Dmitry Timoshkov
c7d33e1d44
gdi32: Add support for 16-bit QUERYESCSUPPORT queries.
2013-02-05 10:54:23 +01:00
Stefan Leichter
83846cd131
gdi32: Add stub for GetFontResourceInfoW.
2013-01-22 20:02:00 +01:00
Alexandre Julliard
f496a5a0e6
gdi32: Fix copy/paste typo in get_char_positions_indices.
2013-01-22 12:13:19 +01:00
Andrew Talbot
f98f70fb41
gdi32: Avoid signed-unsigned integer comparisons.
2013-01-21 12:51:15 +01:00
Alexandre Julliard
0b10f0b854
gdi32: Initialize fontconfig even when fonts are cached.
2013-01-15 14:30:36 +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
4d72b082ed
gdi32: Keep the main font cache key open.
2013-01-15 14:30:09 +01:00
Alexandre Julliard
ab0ad4f5d8
gdi32: Add helper functions to compute font paths for AddFontResource.
2013-01-15 14:30:09 +01:00
Alexandre Julliard
0f40a031e7
gdi32: Store the vertical flag together with the other font flags.
2013-01-15 14:30:04 +01:00
Alexandre Julliard
f90696e813
gdi32: Store the full flags in the face object, and add a flag for fonts added through AddFontResource.
2013-01-15 14:29:12 +01:00
Alexandre Julliard
865078b05a
gdi32: Add ref counting to the face and family objects.
2013-01-14 15:19:14 +01:00
Alexandre Julliard
634840579c
gdi32: Avoid creating a family object just to retrieve the font data.
2013-01-14 14:48:20 +01:00
Alexandre Julliard
227fc26e63
gdi32: Use the correct physdev for each driver call (Coverity).
2012-12-27 20:53:25 +01:00
Alexandre Julliard
57f84bc7bb
gdi32: Avoid duplicate computation of text extents in ExtTextOut.
2012-12-20 15:08:31 +01:00
Alexandre Julliard
0da8c0d92e
gdi32: Compute the extents of the whole string at once in ExtTextOut.
2012-12-20 14:32:58 +01:00
Alexandre Julliard
bbf3e8621a
gdi32: Remove from the GetTextExtentExPoint entry points parameters that can't be handled by the driver.
2012-12-18 19:26:25 +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
Andrew Talbot
0653f7a64d
gdi32: Indentation fix.
2012-12-17 11:48:03 +01:00