Commit Graph

115 Commits

Author SHA1 Message Date
Nikolay Sivov 5eccb1322d dwrite: Actually return NULL names pointer and error code when failed to read them. 2015-03-16 21:42:39 +09:00
Nikolay Sivov 6ff14a9213 dwrite: Use FreeType CMAP cache system instead of parsing tables manually. 2015-02-23 15:26:02 +09:00
Nikolay Sivov 5a318c3e8b dwrite: Set facename field of a LOGFONT in ConvertFontFaceToLOGFONT(). 2015-02-19 17:50:56 +09:00
Nikolay Sivov 5196be7706 dwrite: Fix error code returned by GetFontFromFontFace(). 2015-02-19 17:50:51 +09:00
Nikolay Sivov c949ff5d24 dwrite: Implement GetGlyphCount(). 2015-02-05 22:19:06 +09:00
Nikolay Sivov afd1911cd7 dwrite: Improve error handling during font collection creation. 2015-02-04 21:42:35 +09:00
Nikolay Sivov 77189de8b7 dwrite: Simplify collection_find_family(). 2015-02-04 21:42:11 +09:00
Nikolay Sivov 8f9bca9103 dwrite: Implement GetCaretMetrics(). 2015-02-03 20:53:07 +09:00
Nikolay Sivov fbeb829584 dwrite: Forward GetGdiCompatibleMetrics() to newer call. 2015-02-03 20:52:58 +09:00
Francois Gouget 3b87dbe062 dwrite: Make free_glyph_outline() static. 2015-01-05 20:17:22 +01:00
Nikolay Sivov 00ea0b72b6 dwrite: Added stub EUDC font collection. 2014-12-17 13:05:18 +01:00
Nikolay Sivov bbe6655280 dwrite: Support outlines with oblique simulation. 2014-12-16 16:31:30 +01:00
Nikolay Sivov 17a24679b4 dwrite: Initial GetGlyphRunOutline() implementation. 2014-12-15 13:41:16 +01:00
Nikolay Sivov de741ffe52 dwrite: Update to IDWriteFactory2. 2014-12-09 18:57:06 +01:00
Nikolay Sivov 415e0b3f54 dwrite: Implement GetDesignGlyphAdvances(). 2014-12-09 18:57:04 +01:00
Nikolay Sivov 730b2f4c66 dwrite: Implement IsMonospacedFont(). 2014-12-09 18:57:01 +01:00
Nikolay Sivov 9978bfb6d7 dwrite: Partially implement GetDesignGlyphMetrics(). 2014-12-08 16:48:45 +01:00
Nikolay Sivov 517185fcf3 dwrite: Set font style to oblique when oblique simulation, was requested. 2014-12-08 16:41:17 +01:00
Francois Gouget d1040304b2 dwrite: Fix compilation on systems that don't support nameless unions. 2014-12-05 20:47:53 +01:00
Nikolay Sivov fe81deae10 dwrite: Make fonts installed in Fonts dir accessible through system collection. 2014-12-02 15:02:43 +01:00
Marcus Meissner c7e9ffa70a dwrite: Remove unused hresult assignment (Coverity). 2014-12-01 11:00:16 +01:00
Marcus Meissner 6ea025fc7f dwrite: Avoid leaking filemapping (Coverity). 2014-12-01 11:00:15 +01:00
Nikolay Sivov 82e66b4b47 dwrite: Fix lineGap metric using 'hhea' table values. 2014-11-28 17:04:45 +01:00
Nikolay Sivov 31496c600d dwrite: Use stream fragment context when reading font tables. 2014-11-27 11:11:16 +01:00
Nikolay Sivov 416527a6ad dwrite: Use file mapping for local file stream. 2014-11-26 17:35:13 +01:00
Nikolay Sivov 7ae3426ea4 dwrite: Forward more font methods to fontface. 2014-11-25 16:35:01 +01:00
Nikolay Sivov a77b9ed0c7 dwrite: Load freetype on module attach, create one FT_Face per fontface. 2014-11-21 18:10:51 +09:00
Nikolay Sivov f16960aeb8 dwrite: Implement GetLastWriteTime() for local stream. 2014-11-19 00:38:56 +09:00
Nikolay Sivov 6564417082 dwrite: Remove null pointer checks that can't fail. 2014-11-18 22:11:29 +09:00
Nikolay Sivov 8b769332e2 dwrite: Reuse local file stream instances. 2014-11-17 19:30:19 +09:00
Nikolay Sivov 53fb0cc711 dwrite: Implement compatible reference key for local files and remaining loader methods. 2014-11-17 19:30:17 +09:00
Nikolay Sivov a8ad62aa51 dwrite: Implement ConvertFontToLOGFONT(). 2014-11-07 20:57:04 +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 ad69c7bf6d dwrite: Implement GetFaceNames(). 2014-11-05 15:53:47 +09:00
Nikolay Sivov c0796ecb49 dwrite: Fix setting oblique simulation on font creation. 2014-11-05 15:53:40 +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
Marcus Meissner a423cbdd5e dwrite: Fixed memory leak on error (Coverity). 2014-11-03 16:33:54 +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 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 1ab456fde3 dwrite: Implement GetFontFromFontFace(). 2014-10-27 19:02:47 +09:00