Alexandre Julliard
3ea711dd7c
gdi32: Store the bounds rectangle as a pointer in the DIB driver.
2012-04-27 12:49:20 +02:00
Alexandre Julliard
3009e03df7
gdi32: Add a SetBoundsRect driver entry point.
2012-04-27 12:41:43 +02:00
Dmitry Timoshkov
5476c0e2b9
gdi32: ntmCellHeight and ntmAvgWidth should be in font units.
2012-04-24 18:44:07 +02:00
Dmitry Timoshkov
57fbf1434c
gdi32: Enumerated font size should not be too large.
...
This reverts commit f4625d1ae1
.
2012-04-24 18:43:45 +02:00
Alexandre Julliard
9674011d75
gdi32: Fix coordinates for row copies in mirrored vertical stretching.
2012-04-24 17:37:53 +02:00
Alexandre Julliard
6c2235cf98
gdi32: Fix some typos in the 4-bpp shrink_row function.
2012-04-23 14:58:12 +02:00
Alexandre Julliard
caf15dd797
gdi32/tests: Take into account multi-monitor setups in the clip region tests.
2012-04-20 12:12:21 +02:00
Daniel Lehman
2c5d7d716a
gdi32: Don't add_join if points are coincident in wide_line_segments.
2012-04-18 17:15:19 +02:00
André Hentschel
9cf97e18b4
gdi32: Remove unneeded shadow variable.
2012-04-18 17:11:39 +02:00
Alexandre Julliard
4a87722144
winex11: Add bounds rectangle tracking to all graphics entry points.
2012-04-18 13:50:56 +02:00
Alexandre Julliard
8b7760292d
gdi32/tests: Fix a test that can fail on multi-monitor setups.
2012-04-17 16:40:57 +02:00
Alexandre Julliard
34457aa4c3
gdi32: Add bounds tracking to all the DIB engine entry points.
2012-04-16 17:49:22 +02:00
Alexandre Julliard
582a2f511f
gdi32: Add a GetBoundsRect driver entry point.
2012-04-16 13:53:23 +02:00
Alexandre Julliard
b1ccff1a9c
gdi32: Add helper functions for manipulating bounds rectangles.
2012-04-16 13:41:29 +02:00
Michael Stefaniuc
7f293b00e8
gdi32/tests: Fix typo (comparison with itself).
2012-04-16 12:05:54 +02:00
Dmitry Timoshkov
34608a5108
gdi32: Add large fonts support for MS Sans Serif.
2012-04-13 16:09:45 +02:00
Alexandre Julliard
81fcb10977
gdi32/tests: Add test cases for wide pen bounding rectangles.
2012-04-13 16:09:39 +02:00
Alexandre Julliard
6c028b19c5
gdi32: Avoid redundant computation of the gradient bounding rectangle.
2012-04-13 13:41:16 +02:00
Alexandre Julliard
ea5fa7ddbe
gdi32: Map all the points at once in PolyPolyline, similarly to what PolyPolygon does.
2012-04-13 13:39:06 +02:00
Alexandre Julliard
568afc210e
gdi32: Move the pen/brush_region helpers to graphics.c and avoid redundant clipping.
2012-04-13 13:36:23 +02:00
Dmitry Timoshkov
31f6f48bfd
gdi32: Add a test for bitmap fonts selected for not existing font sizes.
2012-04-10 19:54:34 +02:00
Alexandre Julliard
88bcd13d7f
gdi32: Store the reference DC in the enhanced metafile and use it to retrieve device caps.
2012-04-10 16:21:24 +02:00
Alexandre Julliard
2776a97931
gdi32: Add explicit fields for the DC flags.
2012-04-10 16:21:23 +02:00
Alexandre Julliard
b762fcc9a7
gdi32: Clip the returned DC bounds to the device rectangle.
2012-04-10 16:21:11 +02:00
Alexandre Julliard
5917bd3959
gdi32: SaveDC doesn't save the DC bounds.
2012-04-10 16:19:20 +02:00
Alexandre Julliard
80f68d4442
gdi32/tests: Add tests for DC bounds handling across various DC manipulations.
2012-04-10 16:17:47 +02:00
Alexandre Julliard
a186a8b170
gdi32/tests: Add tests for DC bounds on various device types.
2012-04-10 13:20:01 +02:00
Alexandre Julliard
399ab6f1f2
gdi32/tests: Add tests for DC bounds to the DIB graphics tests.
2012-04-09 22:59:11 +02:00
Alexandre Julliard
514e952827
gdi32/tests: Automatically reset the bits after comparing the hash.
2012-04-09 21:28:50 +02:00
Dmitry Timoshkov
1f00c01ea5
gdi32: Add more verbose messages to indicate when a font is being added/replaced/refused to load.
2012-04-09 17:28:46 +02:00
Dmitry Timoshkov
e7a1362880
gdi32: Fix a typo in faces_equal() preventing loading all sizes of a bitmap font.
2012-04-09 17:28:43 +02:00
Alexandre Julliard
1ca6ed7748
gdi32: Fix GetClipBox return value for non-memory DCs.
2012-04-09 17:15:59 +02:00
Ken Thomases
9cb7a97981
gdi32: On Mac OS X, find fonts using Core Text rather than FontConfig, by default.
2012-04-05 14:51:34 +02:00
Ken Thomases
272cf2a973
Revert "gdi32: Load fonts from default Mac external font paths.".
...
This reverts commit 85a71387da
.
2012-04-05 14:51:33 +02:00
Kusanagi Kouichi
c0c7547f37
gdi32: Improve font cache.
2012-04-02 18:37:48 +02:00
Dmitry Timoshkov
62b9c26bb5
gdi32: Refuse to load a large .fot file earlier.
2012-04-02 12:42:22 +02:00
Dmitry Timoshkov
b2af51956d
gdi32: Remove a no longer needed shortcut in CreateScalableFontResource test.
2012-04-02 12:41:40 +02:00
Kusanagi Kouichi
35c84cddcc
gdi32: Use helper functions when loading font from cache.
2012-03-30 15:30:01 +02:00
Huw Davies
88a2620b14
gdi32: Add support for loading scalable font resources.
2012-03-30 15:29:40 +02:00
Huw Davies
105caa28bf
gdi32: Implement CreateScalableFontResource.
...
Based on patches by Jeremy White and Dmitry Timoshkov.
2012-03-29 18:16:06 +02:00
Huw Davies
7ac623f380
gdi32: Add a helper to create a new FreeType face.
2012-03-29 18:15:39 +02:00
Huw Davies
0318951aac
gdi32: Separate face creation from face insertion.
2012-03-27 13:43:53 +02:00
Huw Davies
2489c3285c
gdi32: Remove the loop over bitmap sizes. FreeType lists different sizes as separate faces.
...
Windows format bitmap fonts have been enumerated as separate faces
since FreeType 2.1.5, since we require 2.1.9 for bitmap support we can
safely drop this loop.
2012-03-27 13:43:50 +02:00
Huw Davies
8d50bb6711
gdi32: Add a helper to free a face object and fix a potential memory leak.
2012-03-27 13:43:46 +02:00
Huw Davies
b5115f77bc
gdi32: Add a helper to retrieve the fontsignature.
2012-03-27 13:43:42 +02:00
Huw Davies
45d79feaf5
gdi32: Add a helper to retrieve a bitmap font's internal leading.
2012-03-27 13:43:36 +02:00
Huw Davies
afae44da25
gdi32: Add a helper to retrieve the ntm flags.
2012-03-27 13:43:34 +02:00
Huw Davies
37eb386739
gdi32: Add a helper to retrieve the font version.
2012-03-27 13:43:31 +02:00
Huw Davies
e27a633b93
gdi32: Add a helper to create a family.
2012-03-27 13:43:29 +02:00
Huw Davies
7ad330deef
gdi32: Add a helper to retrieve the family pointer.
2012-03-27 13:43:26 +02:00