Commit Graph

306 Commits

Author SHA1 Message Date
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 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
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 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
Marcus Meissner 50c8766cce dwrite: Check correct variable for NULL (Coverity). 2014-09-23 13:01:42 +02:00
Marcus Meissner 90774871c8 dwrite: Fixed NULL ptr deref before check (Coverity). 2014-09-22 19:07:30 +02:00
Aric Stewart 15ef946f53 dwrite: Break fontfamily data into its own structure. 2014-09-10 21:36:52 +02:00
Aric Stewart 5d3eaf57ca dwrite: Shift to using localized string for family name. 2014-09-05 13:39:53 +02:00
Aric Stewart 1d6147ec9a dwrite: Shift get_font_properties to opentype. 2014-09-05 13:39:20 +02:00
Aric Stewart ef173c4312 dwrite: Implement GetFontCollection. 2014-09-04 20:21:03 +02:00
Aric Stewart 383854defa dwrite: Implement a list of font data for IDWriteFontFamily. 2014-09-04 20:21:03 +02:00
Aric Stewart 86af1acff4 dwrite: Check if family is set before releasing. 2014-09-03 17:32:35 +02:00
Aric Stewart b9cfb927ec dwrite: Break out basic IDWriteFont creation from requiring a logfont. 2014-09-03 17:32:28 +02:00
Aric Stewart 2ec9fbb205 dwrite: Implement GetGlyphIndices from the CMAP table. 2014-09-03 17:32:13 +02:00
Aric Stewart 8b2e666d3f dwrite: Add face data to font data. 2014-09-02 20:54:39 +02:00
Aric Stewart e707bb6bcd dwrite: Store fontface data in its own structure. 2014-09-02 20:54:38 +02:00
Aric Stewart daef5061e8 dwrite: Store font data in its own structure. 2014-09-02 20:54:35 +02:00
Aric Stewart f49c740907 dwrite: Add the system font collection to the dwrite factory object. 2014-09-02 15:07:44 +02:00
Francois Gouget 466f9790de dwrite: Remove a space before a '\n'. 2014-09-01 13:12:06 +02:00
Aric Stewart 95466a1c2f dwrite: Beginning implementation of IDWriteLocalFontFileLoader. 2014-08-26 22:18:41 +02:00
Francois Gouget 4c7826066e dwrite: Remove WINAPI on static functions where not needed. 2014-08-25 10:50:46 +02:00
Aric Stewart bc77ee6818 dwrite: Implement TryGetFontTable and ReleaseFontTable. 2014-08-20 19:57:10 +02:00
Aric Stewart 26977d4a4b dwrite: Initial implementation of CreateFontFace. 2014-08-20 19:52:03 +02:00
Aric Stewart 366c40813c dwrite: Beginning implementation of IDWriteFontFile_Analyze. 2014-08-20 19:51:48 +02:00
Aric Stewart bb9721bd29 dwrite: Initial implementation of CreateCustomFontFileReference. 2014-08-20 19:51:04 +02:00
Nikolay Sivov 1c23bf04c7 dwrite: Added some layout tests, simplify debug output for text ranges. 2014-07-30 11:27:14 -05:00
Nikolay Sivov 5e4d5ebde7 dwrite: Implement ConvertFontFaceToLOGFONT(). 2014-01-06 17:05:31 +01:00
Andrew Talbot fd00c806bf dwrite: Avoid signed-unsigned integer comparisons. 2013-03-11 10:43:01 +01:00
Dmitry Timoshkov 1ea524a861 dwrite: Avoid triggering an exception on DLL_PROCESS_DETACH. 2013-01-28 14:04:54 +01:00
Nikolay Sivov 0e179e08b6 dwrite: Handle allocation error (Coverity). 2012-11-29 11:15:42 +01:00
Nikolay Sivov 4dbacf05fb dwrite: Partially implement IDWriteFontFace::GetGlyphIndices(). 2012-10-24 14:20:27 +02:00
Nikolay Sivov 22508806fc dwrite: Added basic GetFirstMatchingFont() for font family. 2012-10-23 13:20:58 +02:00
Nikolay Sivov 10431905e5 dwrite: Implement GetFontFamily() for system font collection. 2012-10-23 13:20:54 +02:00
Nikolay Sivov a291a7adf8 dwrite: Keep a single instance of system font collection. 2012-10-23 13:20:44 +02:00
Nikolay Sivov 2793d8196b dwrite: Implement FindFamilyName() for system font collection. 2012-10-22 12:21:32 +02:00
Nikolay Sivov f0f1735495 dwrite: Add all installed font families to system font collection. 2012-10-22 12:21:28 +02:00
Nikolay Sivov eb7d51b649 dwrite: Fix a stupid copy/paste typo in Release return value. 2012-10-22 12:21:23 +02:00
Nikolay Sivov be699372c2 dwrite: Added a stub for IDWriteFontCollection. 2012-10-22 12:21:19 +02:00
Nikolay Sivov 6067df7291 dwrite: Implement GetMetrics() for IDWriteFont. 2012-10-16 11:37:45 +02:00
Nikolay Sivov 438d115ec6 dwrite: Correct reference count behavior for font face interface. 2012-10-15 15:25:27 +02:00
Nikolay Sivov 0358413e35 dwrite: Implement GetWeight() for IDWriteFont. 2012-10-12 13:21:00 +02:00
Nikolay Sivov ab91abd755 dwrite: Use proper table field as stretch value. 2012-10-12 13:20:49 +02:00
Nikolay Sivov 0a6663908d dwrite: Implement GetFontStretch(). 2012-10-10 20:34:06 +02:00
Nikolay Sivov 98ce55c148 dwrite: Add family name to string array. 2012-10-08 12:54:59 +02:00
Nikolay Sivov 41df37f17d dwrite: Added IDWriteFontFace stub. 2012-10-08 12:54:59 +02:00
Nikolay Sivov 45a9560e83 dwrite: Added IDWriteLocalizedStrings stub. 2012-10-08 12:54:58 +02:00
Nikolay Sivov 89561b9247 dwrite: Store font family name in IDWriteFontFamily implementation. 2012-10-08 12:54:58 +02:00
Nikolay Sivov debc356afd dwrite: Added IDWriteFontFamily stub. 2012-08-27 19:42:15 +02:00
Nikolay Sivov 09ba9bdb0a dwrite: Store font style provided in LOGFONT data. 2012-08-13 16:28:44 +02:00
Nikolay Sivov 56d71b04b7 dwrite: Added IDWriteFont stub. 2012-08-13 16:15:21 +02:00