Commit Graph

179 Commits

Author SHA1 Message Date
Nikolay Sivov 08a3e4f29f dwrite: Respect transform when calculating glyph advances for run analysis.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov d36a16ea10 dwrite: Scale run origin by given ppdip run analysis was created with.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov 2fdee67dd2 dwrite: Scale glyph run analysis advances and offsets with ppdip factor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:37 +09:00
Nikolay Sivov 4b6a7e78e9 dwrite: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 22:20:44 +09:00
Nikolay Sivov 20e6181304 dwrite: Print font table tag in string form in traces. 2015-09-15 22:51:03 +09:00
Nikolay Sivov b55e599a4d dwrite: Implement GetFontCollection() for matching list. 2015-09-08 21:59:15 +09:00
Nikolay Sivov 9c19898217 dwrite: Implement GetFont() for matching list. 2015-09-08 21:59:15 +09:00
Nikolay Sivov 42a99a8de5 dwrite: Track face styles added to a family. 2015-09-08 21:59:15 +09:00
Nikolay Sivov 6dd9cdca4b dwrite: Return stub IDWriteFontList from GetMatchingFonts(). 2015-09-08 21:59:15 +09:00
Nikolay Sivov b4ce95c1ab dwrite: Make sure same files are scanned once when building font collection. 2015-09-04 15:10:18 +09:00
Nikolay Sivov 30108c730e dwrite: Increase a number of allocated family slots for system collection. 2015-09-03 14:49:56 +09:00
Nikolay Sivov 7581b11d2b dwrite: Remove GetFaceNames() hack for simulated case. 2015-09-03 14:49:55 +09:00
Nikolay Sivov a10d75e597 dwrite: Add simulated oblique faces. 2015-09-03 14:49:53 +09:00
Nikolay Sivov e38d9bc68e dwrite: Add simulated bold faces for each family when appropriate. 2015-09-03 14:49:51 +09:00
Nikolay Sivov a22d5ed948 dwrite: Force reported English family/face names to resolved values. 2015-09-01 19:27:07 +09:00
Nikolay Sivov 9a6b0750c7 dwrite: Recognize semi light weight patterns. 2015-08-31 17:18:32 +09:00
Nikolay Sivov c0ab20caf9 dwrite: Implement family and face name resolution. 2015-08-31 17:18:31 +09:00
Nikolay Sivov 26fbbdc48b dwrite: Implement grayscale rendering mode. 2015-08-27 21:43:46 +09:00
Nikolay Sivov 2c4ba8a008 dwrite: Cleanup rendering interface with freetype. 2015-08-27 17:10:20 +09:00
Nikolay Sivov b9f05239d2 dwrite: Return advances using freetype cache system. 2015-08-24 18:41:34 +09:00
Nikolay Sivov 4a1e6227ed dwrite: Handle QI failure (Coverity). 2015-08-24 08:23:09 +09:00
Nikolay Sivov 1f54400bbf dwrite: Protect from space-only strings when trimming away spaces. 2015-08-19 20:19:56 +09:00
Nikolay Sivov 6b98b9ac70 dwrite: Extract and resolve font weight from name string. 2015-08-19 20:19:56 +09:00
Nikolay Sivov 4a399b7677 dwrite: Implement font stretch resolution. 2015-08-19 20:19:56 +09:00
Nikolay Sivov 5185906006 dwrite: Implement font style resolution from name strings. 2015-08-18 14:30:37 +09:00
Nikolay Sivov 2ac68e91a4 dwrite: Improve face name extraction. 2015-08-13 15:04:14 +09:00
Nikolay Sivov fb013d7acd dwrite: Fix family name extraction order. 2015-08-13 15:04:12 +09:00
Nikolay Sivov f5f025f1dd dwrite: Use better font matching algorithm based on weight/stretch/style triples. 2015-08-12 22:53:04 +09:00
Nikolay Sivov c7d1b91154 dwrite: Fix font table tag tracing. 2015-08-12 22:52:55 +09:00
Nikolay Sivov e1f353663a dwrite: Fix IsColorFont() return type for IDWriteFont2. 2015-08-07 14:18:03 +09:00
Nikolay Sivov 93d24de308 dwrite: Added IDWriteColorGlyphRunEnumerator stub. 2015-08-07 14:18:01 +09:00
Nikolay Sivov fd35a1af6a dwrite: Implement GetPaletteEntries(). 2015-08-07 14:17:58 +09:00
Nikolay Sivov 5734c2ed98 dwrite: Implement GetPaletteEntryCount(). 2015-08-07 14:17:53 +09:00
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 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 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 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 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