Commit Graph

472 Commits (05d2a083065a4bff429322eff43352b352b8b4e9)

Author SHA1 Message Date
Nikolay Sivov 37d10af966 dwrite/tests: Some tests for TranslateColorGlyphRun(). 2015-09-10 18:10:36 +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 8747fa2b9f dwrite/tests: Fix some test failures on Win10. 2015-09-04 18:18:31 +09:00
Nikolay Sivov fe848b26c7 dwrite: Make CreateFontFace() fail with DWRITE_E_FILEFORMAT for supported types in case of type mismatch. 2015-09-04 18:18:29 +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
Francois Gouget f87491d5cd dwrite: Make opentype_get_font_strings_from_id() static. 2015-08-29 14:27:43 +09:00
Nikolay Sivov 26fbbdc48b dwrite: Implement grayscale rendering mode. 2015-08-27 21:43:46 +09:00
Nikolay Sivov 3f4a284f58 dwrite: Bitmap buffer is zeroed on allocation, no need to do it again. 2015-08-27 17:10:22 +09:00
Nikolay Sivov 2c4ba8a008 dwrite: Cleanup rendering interface with freetype. 2015-08-27 17:10:20 +09:00
Nikolay Sivov f52ef006cd dwrite: Use proper pixel format when accessing dib memory directly. 2015-08-24 18:41:35 +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 3ffe6ab0bb dwrite: Handle failure when getting texture bounds (Coverity). 2015-08-24 08:23:06 +09:00
Nikolay Sivov 4c12157c34 dwrite/tests: Fix analyzer test failures on Win10. 2015-08-21 14:33:33 +09:00
Nikolay Sivov 8dd0738b1c dwrite/tests: Fix layout test failure on Win10. 2015-08-21 14:33:31 +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 433b7c04c7 dwrite: Use aliased outline threshold for GDI target. 2015-08-17 14:52:22 +09:00
Nikolay Sivov 204d46c674 dwrite: Implement outline mode for DrawGlyphRun(). 2015-08-17 14:52:20 +09:00
Nikolay Sivov 22a65466b3 dwrite/tests: Some tests for target hdc mode/transform. 2015-08-13 15:04:16 +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 785c592ada dwrite: Improve the way font weight is set with both OS/2 and 'head' values. 2015-08-12 22:53:02 +09:00
Nikolay Sivov 123c7cde07 dwrite: Set font stretch from 'head' table as a fallback. 2015-08-12 22:53:00 +09:00
Nikolay Sivov 4b4674bea8 dwrite: Use OS/2 table data to set font style, make it preferable. 2015-08-12 22:52:57 +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 4df29eb02f dwrite/tests: Basic test for GetPaletteEntries(). 2015-08-07 14:17:56 +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 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