Commit Graph

311 Commits

Author SHA1 Message Date
Nikolay Sivov 14158a71db dwrite: Implement ApplyCharacterSpacing(). 2015-04-27 15:10:29 +09:00
Julius Schwartzenberg 20aee0673d dwrite: Font search is case insensitive. 2015-04-13 15:49:38 +09:00
Nikolay Sivov b16432f2c2 dwrite: Add cluster metrics entry for inline objects too. 2015-04-06 12:09:03 +09:00
Nikolay Sivov 0c116d7736 dwrite: Fix cluster width and length calculation. 2015-04-03 20:51:46 +09:00
Nikolay Sivov 7b664095aa dwrite: Update to IDWriteRenderingParams2. 2015-03-31 21:36:28 +09:00
Nikolay Sivov 9ec6fd85c4 dwrite: Return CreateStreamFromKey() failure code from Analyze(). 2015-03-30 19:10:31 +09:00
Nikolay Sivov 8303199cbe dwrite: Initial implementation of DetermineMinWidth(). 2015-03-30 19:10:27 +09:00
Nikolay Sivov b58528fa49 dwrite/tests: Another test for cluster metrics and inline objects. 2015-03-18 19:36:43 +09:00
Nikolay Sivov fa1fe44c34 dwrite: Implement SetFontFallback(). 2015-03-17 14:19:42 +09:00
Nikolay Sivov c2c3001387 dwrite: Allow to query for IDWriteTextFormat1 from layout. 2015-03-17 14:19:36 +09:00
Nikolay Sivov bd3069c0c1 dwrite/tests: Use separate factory for each test in layout tests. 2015-03-17 14:19:30 +09:00
Nikolay Sivov 947f8e64d5 dwrite: Initially format and layout don't have a fallback set. 2015-03-17 14:19:22 +09:00
Nikolay Sivov 7e480d3c6d dwrite: Implement GetKerningPairAdjustments(). 2015-03-16 21:42:40 +09:00
Nikolay Sivov 2933e8666f dwrite: Fix invalid parameter handling in GetGlyphIndices(). 2015-03-16 21:42:39 +09:00
Nikolay Sivov e6ce0e9f26 dwrite: Fix GetClusterMetrics() return value. 2015-03-13 21:57:29 +09:00
Nikolay Sivov 8a46a01008 dwrite: Store vertical orientation property. 2015-03-13 21:57:28 +09:00
Nikolay Sivov 672aae654e dwrite: Store pair kerning range attribute. 2015-03-13 21:57:28 +09:00
Nikolay Sivov 985bff76be dwrite: Fix excessive refcount increment when setting interface pointers as range attributes. 2015-03-12 13:56:35 +09:00
Nikolay Sivov 3cfbfeca2b dwrite/tests: Place test font file in temporary location, make sure it's deleted after the test. 2015-02-24 14:17:01 +09:00
Nikolay Sivov eb2a4ec5f4 dwrite/tests: Test default colors of render target memory HDC. 2015-02-23 15:26:03 +09:00
Nikolay Sivov 0067be66bb dwrite/tests: Fixed font instance leak. 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 34a5cd2086 dwrite/tests: Fix couple of leaks when creating test font instance. 2015-02-04 21:42:39 +09:00
Nikolay Sivov 8f9bca9103 dwrite: Implement GetCaretMetrics(). 2015-02-03 20:53:07 +09:00
Nikolay Sivov 6b0623fb2f dwrite: Initial implementation of GetTypographicFeatures(). 2015-01-26 12:06:18 +01:00
Nikolay Sivov 711b9f0414 dwrite: Initial implementation of GetGlyphPlacements(). 2015-01-22 13:42:34 +01:00
Nikolay Sivov 0258e5319b dwrite/tests: Basic test for GetTypographicFeatures(). 2015-01-21 15:29:17 +01:00
Nikolay Sivov aef50786fb dwrite/tests: Additional test for Draw(). 2015-01-20 17:52:20 +01:00
Nikolay Sivov de09e9b94e dwrite/tests: Fix buffer overflow when filling test string. 2015-01-06 18:19:31 +01:00
Nikolay Sivov aecec3847a dwrite: Store locale name for each text range. 2015-01-05 16:29:11 +01:00
Nikolay Sivov 894737ac55 dwrite: Split each text range into runs by script. 2014-12-23 15:31:10 +01:00
Nikolay Sivov 00ea0b72b6 dwrite: Added stub EUDC font collection. 2014-12-17 13:05:18 +01:00
Nikolay Sivov 17a24679b4 dwrite: Initial GetGlyphRunOutline() implementation. 2014-12-15 13:41:16 +01:00
Nikolay Sivov 44bb2ba295 dwrite: Block creation of unsupported face types. 2014-12-11 16:41:14 +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 ea932fbcc1 Assorted spelling fixes. 2014-12-05 20:47:45 +01:00
Nikolay Sivov 82e66b4b47 dwrite: Fix lineGap metric using 'hhea' table values. 2014-11-28 17:04:45 +01:00
Nikolay Sivov 298f08d602 dwrite/tests: Fix some test failures on older dwrite versions. 2014-11-27 11:11:21 +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 b8db7f6a04 dwrite: Update to IDWriteBitmapRenderTarget1. 2014-11-25 16:35:02 +01:00
Nikolay Sivov 9db50228dd dwrite: Implement SetCurrentTransform() for bitmap render target. 2014-11-19 23:36:35 +09:00
Nikolay Sivov e6cd0f7d8c dwrite/tests: Some tests for ReadFileFragment(). 2014-11-19 00:38:58 +09:00
Nikolay Sivov f16960aeb8 dwrite: Implement GetLastWriteTime() for local stream. 2014-11-19 00:38:56 +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 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 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 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 afea35f56a dwrite: Store pixels per dip value for a render target. 2014-10-30 12:00:19 +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 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 35e9b6d85d dwrite: Pass raw NAME table pointer to table reading code. 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 04a237fe18 dwrite: Implement GetInformationalStrings(). 2014-10-21 18:49:14 +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 4c0ec6700c dwrite: Implement GetUnicodeRanges(). 2014-10-16 13:00:16 +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 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 37a02acc6a dwrite: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 10:19:00 +02:00
Nikolay Sivov cb8556c171 dwrite: Introduce cache to be used by shaping engines. 2014-10-07 20:22:00 +02:00
Nikolay Sivov 3704072911 dwrite: Mirror characters in case of RTL direction. 2014-10-06 17:36:26 +02:00
Nikolay Sivov 1843972e0e dwrite: Initial implementation of GetGlyphs(). 2014-10-06 17:36:01 +02:00
Nikolay Sivov 7c035744f6 dwrite: Implement CreateNumberSubstitution(). 2014-10-02 22:55:02 +02:00
Nikolay Sivov 7eac1f7156 dwrite: Implement GetTextComplexity(). 2014-09-26 14:00:06 +02:00
Nikolay Sivov 59bdda006b dwrite: Implement GetScriptProperties(). 2014-09-26 13:59:52 +02:00
Marcus Meissner 23aaef96a2 dwrite: Use correct variable (Coverity). 2014-09-22 19:07:04 +02:00
Nikolay Sivov c67f930a9f dwrite: Added IDWriteTypography implementation. 2014-09-19 10:49:45 +02:00
Nikolay Sivov f60350808d dwrite: Implement AnalyzeLineBreakpoints() using Unicode breaking algorithm. 2014-09-05 14:41:47 +02:00
Aric Stewart 2ec9fbb205 dwrite: Implement GetGlyphIndices from the CMAP table. 2014-09-03 17:32:13 +02:00
Nikolay Sivov 0dad47ea36 dwrite/tests: Initial tests for SetLineBreakpoints(). 2014-08-29 15:45:04 +02:00
Aric Stewart 95466a1c2f dwrite: Beginning implementation of IDWriteLocalFontFileLoader. 2014-08-26 22:18:41 +02:00
Nikolay Sivov 63d18fd05c dwrite: Add a tiny helper to return DWRITE_TEXT_RANGE values. 2014-08-25 10:54:57 +02:00
Aric Stewart 2dec8d6fb2 dwrite/tests: Add a font resource and use it for tests. 2014-08-21 18:02:27 +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
Aric Stewart a254741b36 dwrite: Implement Font File Loader registration. 2014-08-20 19:49:45 +02:00
Nikolay Sivov c8ec6918c7 dwrite: Implement layout getters derived from text format. 2014-08-18 12:46:55 +02:00
Nikolay Sivov baedef728c dwrite: Implement ranges merging. 2014-08-18 12:46:49 +02:00
Nikolay Sivov 336ba30d24 dwrite: Support for attributes for a range. 2014-08-15 17:05:25 +02:00
Nikolay Sivov 3c1a27f6b1 dwrite: Implement support for inline object and font weight attributes of a range. 2014-08-15 17:05:20 +02:00
Marcus Meissner d1749b548b dwrite: Fixed paste error (Coverity). 2014-08-11 23:55:34 +02:00
Aric Stewart a6fa8599b0 dwrite: Basic implementation for FontCollectionLoader registration. 2014-08-07 21:36:30 +02:00
Nikolay Sivov e6cb2dbaca dwrite/tests: Some tests for drawing sequence for a layout. 2014-08-05 16:37:45 +02:00
Nikolay Sivov 1eb2913ad6 dwrite: Added GetCurrentTransform() for a render target. 2014-08-05 16:37:40 +02:00
Nikolay Sivov c9b8a31c24 dwrite: Implement Resize() for bitmap render target. 2014-08-04 16:19:22 +02:00
Nikolay Sivov edf74c0b0d dwrite/tests: Added some tests for inline object and ranges handling. 2014-08-04 16:18:24 +02:00
Nikolay Sivov 289043f4de dwrite: Store maximum width/height for text layout. 2014-08-04 16:18:20 +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 b5184df5df dwrite: Recognize more Unicode ranges in script analyzer. 2014-06-16 09:31:45 +02:00
Huw Davies d3d4e3a9a9 dwrite/tests: U+1cc8 is not an assigned codepoint, use U+1cc7 instead. Fixes test on win 8. 2014-05-24 11:01:48 +09:00
Nikolay Sivov db49dec825 dwrite/tests: Fix a font instance leak (Valgrind). 2014-04-25 11:05:21 +02:00
Nikolay Sivov 27e86cfc36 dwrite: Added partial implementation for CreateEllipsisTrimmingSign(). 2014-04-08 09:25:50 +02:00
Nikolay Sivov 6b560c92fc dwrite: Added GetTrimming()/SetTrimming() for text format. 2014-04-08 09:25:46 +02:00
Nikolay Sivov ebdad92d11 dwrite: Store text format properties. 2014-04-07 15:34:33 +02:00
Nikolay Sivov 113dd5d217 dwrite: Return default text format properties. 2014-04-07 15:34:32 +02:00
Nikolay Sivov 5e4d5ebde7 dwrite: Implement ConvertFontFaceToLOGFONT(). 2014-01-06 17:05:31 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 02f5ebd062 dwrite/tests: Use BOOL type where appropriate. 2013-10-25 13:36:00 +02:00
Detlef Riekenberg 03101b06c9 dwrite/tests: Avoid refcount test failures. 2013-04-30 11:49:31 +02:00
Nikolay Sivov 1cb663f5ce dwrite: Remove testing for exact script code value. 2013-02-18 15:06:23 +01:00
Nikolay Sivov aeb5950e6f dwrite: Support eight more script ranges. 2012-11-05 17:44:17 +01:00
Nikolay Sivov 8222d4cd3c dwrite: Support more script ranges, up to Mongolian. 2012-11-02 19:47:16 +01:00
Nikolay Sivov 4d2164c936 dwrite: Support nine more script ranges up to code point 0x0bff. 2012-11-01 10:51:04 +01:00
Nikolay Sivov 368bc8aa50 dwrite: Support for Armenian, Hebrew and complete Arabic ranges. 2012-10-31 18:08:10 +01:00
Nikolay Sivov bbc0137f8a dwrite: Support for Greek and Cyrillic ranges. 2012-10-30 10:48:09 +01:00
Nikolay Sivov df2c73a195 dwrite: Support itemization up to codepoint 0x2ff (Latin range). 2012-10-29 14:43:34 +01:00
Nikolay Sivov 89fcb11539 dwrite: Implement initial script itemization for AnalyzeScript(). 2012-10-29 14:43:29 +01:00
Nikolay Sivov 45c7798c36 dwrite: Added a stub for IDWriteTextAnalyzer. 2012-10-29 14:43:22 +01:00
Nikolay Sivov 419a1f45f9 dwrite: Added initial test code for text analyzer tests. 2012-10-29 14:42:55 +01:00
Nikolay Sivov 51d0f61272 dwrite: Added GetLocaleNameLength/GetLocaleName for text format and layout. 2012-10-26 11:52:55 +02:00
Nikolay Sivov 10431905e5 dwrite: Implement GetFontFamily() for system font collection. 2012-10-23 13:20:54 +02:00
Nikolay Sivov a30faec10e dwrite: Implement IDWriteTextFormat::GetFontCollection(). 2012-10-23 13:20:49 +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 11d94a11b6 dwrite: Store text string in layout object. 2012-10-22 12:21:15 +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 9b0f49264e dwrite: Implement GetString(). 2012-10-08 12:55:01 +02:00
Nikolay Sivov 114ef0688b dwrite: Implement GetStringLength method. 2012-10-08 12:55:00 +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 f49d360ffd dwrite: Added IDWriteTextLayout stub. 2012-09-28 11:29:02 +02:00
Nikolay Sivov debc356afd dwrite: Added IDWriteFontFamily stub. 2012-08-27 19:42:15 +02:00
Nikolay Sivov c843e71ba5 dwrite: Implement IDWriteBitmapRenderTarget_GetSize. 2012-08-13 16:28:46 +02:00
Nikolay Sivov 292fd912c9 dwrite: Implement IDWriteBitmapRenderTarget creation. 2012-08-13 16:28:46 +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
Nikolay Sivov bd7db0a9a4 dwrite: Added basic test for IDWriteFont created from LOGFONTW. 2012-07-31 17:59:10 +02:00