Commit Graph

207 Commits

Author SHA1 Message Date
Nikolay Sivov 53209e7017 dwrite: Remove OpenType language id from cache. 2014-11-10 19:25:41 +09:00
Nikolay Sivov a8ad62aa51 dwrite: Implement ConvertFontToLOGFONT(). 2014-11-07 20:57:04 +09:00
Nikolay Sivov 49c8e98f74 dwrite: Respond to IID_IDWriteTextLayout1 too. 2014-11-07 20:57:03 +09:00
Nikolay Sivov a714f0fe75 dwrite: Added a basic test for TryGetFontTable(). 2014-11-07 20:57:02 +09:00
Nikolay Sivov 6ce8cc149e dwrite: Implement GetMetrics() for DWRITE_FONT_METRICS1. 2014-11-07 20:57:02 +09:00
Nikolay Sivov c8bc7ea849 dwrite: Implement GetMetrics() for fontface. 2014-11-06 15:01:29 +09:00
Nikolay Sivov 90753adaaf dwrite: Use public APIs to get file streams from fontface. 2014-11-06 15:01:27 +09:00
Nikolay Sivov 19869997d4 dwrite: Added a separate helper to fill font metrics structure. 2014-11-06 15:01:25 +09:00
Nikolay Sivov 3fd93c0d1d dwrite: File and factory are always set now for all collections. 2014-11-06 15:01:23 +09:00
Nikolay Sivov 1e0b934139 dwrite: Don't cache fontface instance in font data. 2014-11-06 15:01:20 +09:00
Nikolay Sivov e2eb760ffc dwrite: Implement remaining methods of IDWriteLocalizedStrings. 2014-11-05 15:53:50 +09:00
Nikolay Sivov ad69c7bf6d dwrite: Implement GetFaceNames(). 2014-11-05 15:53:47 +09:00
Nikolay Sivov 16aa4f1faa dwrite: Fix compiler warning regarding unsigned type of enum member. 2014-11-05 15:53:44 +09:00
Nikolay Sivov c0796ecb49 dwrite: Fix setting oblique simulation on font creation. 2014-11-05 15:53:40 +09:00
Nikolay Sivov 1ef30feba8 dwrite/tests: Some tests for custom font collections. 2014-11-04 22:49:27 +09:00
Nikolay Sivov 9045ab7f33 dwrite: Remove null checks for family and collection pointers, those are always set now. 2014-11-04 22:49:20 +09:00
Nikolay Sivov 3a2de7aef8 dwrite: Map Mac language id to locale name. 2014-11-04 22:49:10 +09:00
Marcus Meissner a423cbdd5e dwrite: Fixed memory leak on error (Coverity). 2014-11-03 16:33:54 +09:00
Nikolay Sivov afea35f56a dwrite: Store pixels per dip value for a render target. 2014-10-30 12:00:19 +09:00
Nikolay Sivov 7126921615 dwrite: Turn fixme to trace in Analyze(). 2014-10-30 12:00:13 +09:00
Nikolay Sivov cae5d19338 dwrite: Implement system font collection as any other font collection. 2014-10-30 12:00:12 +09:00
Nikolay Sivov 2bc984a5b1 dwrite: Properly null-terminate name string when converting to WCHAR. 2014-10-30 12:00:03 +09:00
Nikolay Sivov 6855740a5e dwrite: Reimplement ConvertFontFaceToLOGFONT(). 2014-10-29 20:47:28 +09:00
Nikolay Sivov 1d2993940a dwrite: Set oblique simulation in GetFirstMatchingFont() when appropriate. 2014-10-29 20:47:23 +09:00
Nikolay Sivov 901a65ae42 dwrite: Store simulations flags at font instance level. 2014-10-29 20:47:05 +09:00
Nikolay Sivov 5a5a6bdd92 dwrite: Allow for a weight difference in GetFirstMatchingFont(). 2014-10-29 20:47:02 +09:00
Nikolay Sivov 6706ada9f8 dwrite: Use API-defined type for family count. 2014-10-29 20:46:58 +09:00
Nikolay Sivov 6128e73f77 dwrite: Support Mac platform id and some of its encodings when reading 'name' table. 2014-10-29 20:46:55 +09:00
Nikolay Sivov 34823028e1 dwrite: Allow null arguments in opentype_get_font_table(). 2014-10-27 19:02:48 +09:00
Nikolay Sivov 1ab456fde3 dwrite: Implement GetFontFromFontFace(). 2014-10-27 19:02:47 +09:00
Nikolay Sivov 340aa07f60 dwrite: Initialize allocation size for a family before using it. 2014-10-27 19:02:47 +09:00
Nikolay Sivov 5b10a69c3a dwrite: Block attempts of registering local file loader. 2014-10-27 19:02:46 +09:00
Nikolay Sivov be69977cd5 dwrite/tests: Fix recently inroduced test failure. 2014-10-27 19:02:45 +09:00
Nikolay Sivov fbf2557cd7 dwrite: Implement custom font collections. 2014-10-24 19:58:06 +09:00
Nikolay Sivov 35e9b6d85d dwrite: Pass raw NAME table pointer to table reading code. 2014-10-24 19:58:05 +09:00
Nikolay Sivov 2300602586 dwrite: Use helpers to search through loaders lists. 2014-10-24 19:58:05 +09:00
Nikolay Sivov 42882f7f75 dwrite: Cache fontface instances at factory level. 2014-10-24 19:58:05 +09:00
Nikolay Sivov fefb947516 dwrite/tests: Fix some test failures. 2014-10-24 19:58:05 +09:00
Nikolay Sivov 561ac1d829 dwrite/tests: Some tests for local font file loader. 2014-10-23 19:30:53 +09:00
Nikolay Sivov 272964666a dwrite/tests: Create separate isolated factory for each test. 2014-10-23 19:30:50 +09:00
Nikolay Sivov 42e5a32cc3 dwrite: Some tests for reused fontface instances. 2014-10-22 21:02:11 +09:00
Nikolay Sivov b4dc4e257c dwrite: Remove unused parameter. 2014-10-22 21:02:05 +09:00
Nikolay Sivov 04a237fe18 dwrite: Implement GetInformationalStrings(). 2014-10-21 18:49:14 +09:00
Nikolay Sivov 177f601889 dwrite: Store registered file loaders in a list. 2014-10-21 18:48:49 +09:00
Nikolay Sivov 00e352992e dwrite: Store registered collection loaders in a list. 2014-10-21 18:48:42 +09:00
Nikolay Sivov cd7c31fe08 dwrite: Implement CreateFontFaceFromHdc(). 2014-10-20 21:33:27 +09:00
Nikolay Sivov a088f7d381 dwrite: Implement CreateFontFromLOGFONT() on top of system font collection. 2014-10-20 21:32:47 +09:00
Nikolay Sivov ea11f85a94 dwrite: Store factory pointer gdiinterop was created from. 2014-10-20 21:32:44 +09:00
Nikolay Sivov bb23664ee9 dwrite: Some tests for IDWriteFontColletion methods. 2014-10-17 14:40:56 +09:00
Nikolay Sivov e3c514f6d5 dwrite: Return on first found glyph. 2014-10-17 14:40:51 +09:00