Commit Graph

185 Commits

Author SHA1 Message Date
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
Nikolay Sivov d02d35a7b1 dwrite: Create IDWriteFontFace2 instance for IDWriteFont. 2014-10-17 14:40:48 +09:00
Nikolay Sivov 460363535e dwrite: Added a helper to get IDWriteFontFace from IDWriteFont. 2014-10-17 14:40:37 +09:00
Nikolay Sivov 571307edc2 dwrite: Hide BiDi helpers. 2014-10-17 14:40:31 +09:00
Nikolay Sivov 4c0ec6700c dwrite: Implement GetUnicodeRanges(). 2014-10-16 13:00:16 +09:00
Nikolay Sivov d3cdec0e66 dwrite: Use better integer types for cmap helpers. 2014-10-16 13:00:12 +09:00
Nikolay Sivov 9b46e19aa4 dwrite: Implement HasCharacter(). 2014-10-16 13:00:07 +09:00
Nikolay Sivov 8f34bee25a dwrite: Added one more test for system font collection. 2014-10-16 13:00:03 +09:00
Nikolay Sivov 617f668f49 dwrite: Block negative max height/width for layout. 2014-10-15 21:31:58 +09:00
Nikolay Sivov d8a66e634c dwrite: Refuse to create IDWriteFontFace with invalid collection index. 2014-10-15 21:31:51 +09:00
Nikolay Sivov a1ff4f904e dwrite: Update to IDWriteFontFace2. 2014-10-14 17:42:47 +09:00
Nikolay Sivov 1f9ca4775a dwrite: Update to IDWriteFont2. 2014-10-14 17:42:43 +09:00
Nikolay Sivov 1006987712 dwrite: Create single shared factory. 2014-10-14 17:42:15 +09:00
Nikolay Sivov 28e9b3f421 dwrite: Added parameter check for registering/unregistering collection loaders. 2014-10-14 17:42:10 +09:00
Nikolay Sivov c27af4774e widl: Generate method macros/wrappers for overridden methods. 2014-10-14 14:15:30 +09:00
Nikolay Sivov 120422e93b dwrite: Update to IDWriteTextFormat1. 2014-10-13 18:09:41 +09:00
Nikolay Sivov 45f9540d2b dwrite: Update to IDWriteTextLayout2. 2014-10-13 18:09:33 +09:00
Aric Stewart 8a5707111a dwrite: Build non-system font collections as a list of font families. 2014-10-09 17:36:22 +02:00
Nikolay Sivov 1e65a32e26 dwrite: Pass stream pointer to OpenType parsing code. 2014-10-08 13:13:38 +02:00
Nikolay Sivov 37a02acc6a dwrite: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 10:19:00 +02:00
Nikolay Sivov 3b1e8bf824 dwrite: Use public macro to define OpenType tags. 2014-10-07 20:22:02 +02:00
Nikolay Sivov 07dc8b66e4 dwrite: Move font table related data to a separate structure.
Eventually we should get rid of separate allocations on every
TryGetFontTable(), that's not how local loader works. Instead it maps
font file and returns pointers to a mapping, context is always NULL in
this case.
2014-10-07 20:22:02 +02:00
Nikolay Sivov c9bb307c35 dwrite: Store OpenType language tag in shaping cache. 2014-10-07 20:22:01 +02:00