Commit Graph

428 Commits

Author SHA1 Message Date
Nikolay Sivov 20571725f3 dwrite: Implement GetColorPaletteCount(). 2015-08-07 14:17:51 +09:00
Nikolay Sivov 14e4996f6c dwrite: Implement CreateGlyphRunAnalysis() from IDWriteFactory2. 2015-08-07 14:17:48 +09:00
Nikolay Sivov 8133684816 dwrite: Use right charmap for symbol encoding. 2015-08-07 00:05:06 +09:00
Nikolay Sivov ab7c65ae43 dwrite: Implement IsSymbolFont(). 2015-08-07 00:05:04 +09:00
Nikolay Sivov 7540fa5a1a dwrite: Properly initialize LOGFONT returned from ConvertFontToLOGFONT(). 2015-08-07 00:05:01 +09:00
Nikolay Sivov 6597453403 dwrite: Release run info as soon as it's rendered to save some memory. 2015-08-04 12:21:59 +02:00
Nikolay Sivov 720c430594 dwrite: Advances and offsets are optional for IDWriteGlyphRunAnalysis. 2015-08-04 12:21:58 +02:00
Nikolay Sivov dc75b34ddf dwrite: Fix outline translation before rendering. 2015-08-03 10:58:06 +02:00
Nikolay Sivov 44c301c584 dwrite: Implement DrawGlyphRun(). 2015-07-31 12:07:28 +02:00
Nikolay Sivov e08b77b0a9 dwrite: Implement CreateAlphaTexture(). 2015-07-31 12:07:26 +02:00
Nikolay Sivov 6d1f47902b dwrite: Translate rendered bitmap bounds to given origin. 2015-07-31 12:07:23 +02:00
Nikolay Sivov 5137aaa9c9 dwrite: Implement parameter validation for CreateAlphaTexture(). 2015-07-29 21:44:01 +02:00
Nikolay Sivov b50416aa5f dwrite: Implement GetAlphaTextureBounds(). 2015-07-29 21:44:01 +02:00
Nikolay Sivov 2c6eca8682 dwrite: Implement GetAlphaBlendParams(). 2015-07-29 20:57:04 +02:00
Nikolay Sivov fb35557db9 dwrite: Store run info for IDWriteGlyphRunAnalysis instance. 2015-07-29 20:57:02 +02:00
Nikolay Sivov e877cfbcfa dwrite: Implement GetRecommendedRenderingMode(). 2015-07-28 13:41:45 +02:00
Nikolay Sivov aac3a069e4 dwrite/tests: Some tests for GetRecommendedRenderingMode(). 2015-07-28 13:41:45 +02:00
Nikolay Sivov 5178c8b111 dwrite: Update cached bitmap size on Resize() as well. 2015-07-22 15:16:05 +02:00
Nikolay Sivov a66ba8957e dwrite: Bitmap render target uses top-down DIB. 2015-07-22 15:15:58 +02:00
André Hentschel b4b65d8284 dwrite: Remove unused initializer (Clang). 2015-07-22 07:24:35 +02:00
Nikolay Sivov 491e84a771 dwrite/tests: Some tests for isNewline clusters. 2015-07-20 20:56:04 +02:00
Nikolay Sivov c8b0c80365 dwrite: Round centered alignment shift for compatible layouts. 2015-07-20 20:56:04 +02:00
Nikolay Sivov a718a9a5ca dwrite/tests: Some tests for bounds returned by GetAlphaTextureBounds(). 2015-07-20 20:56:04 +02:00
Nikolay Sivov 5231715d31 dwrite: Improve parameter validation in GetGdiCompatibleGlyphAdvances(), add some tests. 2015-07-20 20:56:04 +02:00
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