Commit Graph

404 Commits

Author SHA1 Message Date
Nikolay Sivov 2655ac5f93 dwrite: Aliased texture could only be requested for aliased rendering mode. 2015-07-17 19:28:04 +09:00
Nikolay Sivov 42ed6ddd30 dwrite: Fix vector transformation in GetGlyphOrientationTransform(). 2015-07-16 19:22:39 +09:00
Nikolay Sivov 2132a060ea dwrite: Round advances returned from GetGdiCompatibleGlyphPlacements(). 2015-07-16 19:22:37 +09:00
Nikolay Sivov a92390f707 dwrite/tests: Some tests for CreateGdiCompatibleTextLayout(). 2015-07-16 19:22:35 +09:00
Nikolay Sivov e68c6389b1 dwrite: Properly pass measuring mode to renderer. 2015-07-16 19:22:33 +09:00
Nikolay Sivov a3f2b6b856 dwrite: Partial implementation of GetGdiCompatibleGlyphMetrics(). 2015-07-16 16:29:46 +09:00
Nikolay Sivov e94d977006 dwrite: Partially implement GetGdiCompatibleGlyphAdvances(). 2015-07-15 23:19:13 +09:00
Nikolay Sivov f46aa66ca7 dwrite: Fix transform matrix usage for pixel snapping. 2015-07-15 16:56:53 +09:00
Nikolay Sivov a32168bc49 dwrite/tests: Fix trimming sign instance leak (Valgrind). 2015-07-14 17:07:46 +09:00
Nikolay Sivov 0b64f24030 dwrite: Make sure explicit levels are always initialized (Valgrind). 2015-07-14 17:07:43 +09:00
Nikolay Sivov 2b59cf84be dwrite: Fix EndFigure notification in GetGlyphRunOutline(). 2015-07-13 14:45:18 +09:00
Nikolay Sivov fda08897e4 dwrite: Remove excessive tracing when forwarding to IDWriteTextFormat1. 2015-07-13 14:45:16 +09:00
Nikolay Sivov 04ae4bfb2c dwrite: Implement GetMetrics() for trimming sign. 2015-07-13 14:45:15 +09:00
Nikolay Sivov e6d5c03fde dwrite: Handle negative emsize in GetGdiCompatibleMetrics(). 2015-07-13 14:45:13 +09:00
Nikolay Sivov 2f79a876f9 dwrite: Implement SetWordWrapping() for layout. 2015-07-13 14:45:11 +09:00
Nikolay Sivov cf5d9848d8 dwrite: Check GetGdiCompatibleMetrics() return value (Coverity). 2015-07-13 14:45:08 +09:00
Nikolay Sivov 66efbbbae2 dwrite: Implement pixel snapping in Draw(). 2015-07-13 14:44:59 +09:00
Sebastian Lackner 402caa632b dwrite: Avoid dereferencing NULL pointer for fonts without VDMX. 2015-07-13 14:44:49 +09:00
Nikolay Sivov 0dcc9ead9e dwrite: Properly set run origin in DWRITE_READING_DIRECTION_RIGHT_TO_LEFT case. 2015-07-09 23:17:44 +09:00
Nikolay Sivov 8201fa14c9 dwrite: Fix alignment shifts in RTL case. 2015-07-09 23:17:44 +09:00
Nikolay Sivov 6d52bc59c0 dwrite: Implement SetReadingDirection() for layout. 2015-07-09 23:17:44 +09:00
Nikolay Sivov 849bb99b76 dwrite: Implement GetGdiCompatibleMetrics(). 2015-07-08 19:12:12 +09:00
Bernhard Übelacker 119501fee8 dwrite: Call RegEnumValueW with value and val_count parameters. 2015-07-08 16:02:24 +09:00
Nikolay Sivov 9375b06c3a dwrite/tests: Extend GetGdiCompatibleMetrics() test to test DWRITE_FONT_METRICS1 as well. 2015-07-07 16:52:21 +09:00
Nikolay Sivov 50bf5fca34 dwrite: Implement GetPanose(). 2015-07-07 16:52:21 +09:00
Nikolay Sivov bb0c6f74a5 dwrite: Implement centered text alignment. 2015-07-07 16:52:20 +09:00
Nikolay Sivov f039e15182 dwrite: Remove a couple of useless checks. 2015-07-07 16:52:20 +09:00
Huw Davies bbf5b249ca dwrite/tests: Add tests for GetGdiCompatibleMetrics. 2015-07-06 17:09:48 +09:00
Nikolay Sivov b49f9f609a dwrite/tests: Test that pair kerning affects shaping. 2015-07-06 15:13:22 +09:00
Nikolay Sivov 862ac80a0d dwrite: Implement paragraph alignment. 2015-07-06 15:13:20 +09:00
Nikolay Sivov 44c135dd17 dwrite: Implement leading and trailing text alignment modes. 2015-07-06 15:13:18 +09:00
Nikolay Sivov de46f610fe dwrite: Make it possible to set text alignment on created layout. 2015-07-06 15:13:16 +09:00
Nikolay Sivov 7a64715be3 dwrite: Remove separate line count layout field. 2015-07-06 15:13:14 +09:00
Nikolay Sivov 8b566b1da7 dwrite: Reset calculated text height before updating it. 2015-07-03 22:58:07 +09:00
Nikolay Sivov ed54767030 dwrite: Store layout width/height directly in metrics structure. 2015-07-03 22:58:05 +09:00
Nikolay Sivov d86f2af3b6 dwrite: Add last cluster width to line width. 2015-07-02 13:43:00 +09:00
Nikolay Sivov a940c9b970 dwrite: Initial layout GetMetrics() implementation. 2015-07-02 13:42:58 +09:00
Nikolay Sivov e27a13e3a2 dwrite: Always set canWrapLineAfter for last cluster. 2015-06-29 21:13:29 +09:00
Nikolay Sivov 1002119a60 dwrite: Clip range length to text length when updating breakpoints. 2015-06-29 21:13:25 +09:00
Nikolay Sivov 9c54176f5c dwrite: Fix number of clusters effective run is built on. 2015-06-29 21:13:21 +09:00
Nikolay Sivov 3976cc459d dwrite: Update current line count when adding metrics for new line. 2015-06-29 21:13:14 +09:00
Nikolay Sivov 9148e87291 dwrite: Fix clustermap shifting for effective run. 2015-06-26 20:35:07 +09:00
Nikolay Sivov 872e569744 dwrite: Properly reduce glyph count of effective run. 2015-06-26 20:35:07 +09:00
Nikolay Sivov 69d5e351f9 dwrite: Call SetFillMode() once per run. 2015-06-23 15:08:11 +09:00
Nikolay Sivov 643125e50f dwrite: Set baseline origin Y for reported runs. 2015-06-23 15:08:09 +09:00
Nikolay Sivov 88663caf74 dwrite/tests: Show that line baseline is relative to this line. 2015-06-23 15:08:07 +09:00
Nikolay Sivov 8adc6679e9 dwrite: Set line baseline/height from font metrics. 2015-06-23 15:08:05 +09:00
Nikolay Sivov b43850a363 dwrite: Store character spacing layout settings. 2015-06-22 19:17:35 +09:00
Nikolay Sivov 86a7f329be dwrite: Forward GetRecommendedRenderingMode() to newer method. 2015-06-22 19:16:49 +09:00
Nikolay Sivov b4592cbc7c dwrite: Count last cluster length too when building a line. 2015-06-19 17:01:17 +09:00