Lucian Poston
|
70654e5c83
|
dwrite/tests: Add a test for text format with unknown font family name.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-11-05 19:12:12 +01:00 |
Nikolay Sivov
|
8a14df1e78
|
dwrite/layout: Test resulting line width before adding inline trimming run.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-09-22 00:02:14 +02:00 |
Michael Stefaniuc
|
7b5668a6e7
|
include: Make ARRAY_SIZE() available in wine/test.h.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-25 12:09:17 +02:00 |
Nikolay Sivov
|
abe71945ef
|
dwrite/tests: Skip some tests on variable fonts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-23 09:22:32 +02:00 |
Nikolay Sivov
|
3493792da3
|
dwrite/tests: Remove a test failing after recent update.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-23 09:22:28 +02:00 |
Nikolay Sivov
|
e5966d7475
|
dwrite: Properly truncate face name to LOGFONT size.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-22 21:58:02 +02:00 |
Nikolay Sivov
|
63bdcf97a7
|
dwrite/tests: Use ARRAY_SIZE() macro in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-22 21:58:02 +02:00 |
Nikolay Sivov
|
8b9ba16e9a
|
dwrite: Support IDWriteTextFormat2 for layout.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-22 00:05:36 +02:00 |
Nikolay Sivov
|
f3908ad676
|
dwrite: Support IDWriteFontList1 for font families.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-05-22 00:05:26 +02:00 |
André Hentschel
|
383fbf04cf
|
dwrite/tests: Use fabs for floating point numbers (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-03-28 10:19:23 +02:00 |
Michael Stefaniuc
|
062948f57e
|
dwrite/tests: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-01-31 09:46:26 +01:00 |
Nikolay Sivov
|
f9e0b6a1e4
|
dwrite/tests: Add missing return value test (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2018-01-08 22:47:24 +01:00 |
Nikolay Sivov
|
f577fc8fa2
|
dwrite/tests: Some tests for font set properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-20 08:36:11 +02:00 |
Nikolay Sivov
|
e3a29a6c1d
|
dwrite/tests: Fix object instance leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-16 15:26:32 +02:00 |
Andrey Gusev
|
de4e3dda47
|
dwrite/tests: Fix a typo in ok() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-13 15:09:07 +02:00 |
Nikolay Sivov
|
c4d9176196
|
dwrite: Recognize CFF2 table as CFF variant.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-09 15:24:40 +02:00 |
Nikolay Sivov
|
d8e42057e0
|
dwrite: Recognize CBLC/CBDT image formats.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-09 15:24:40 +02:00 |
Nikolay Sivov
|
9bf92459d3
|
dwrite: Implement AnalyzeContainerType().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-09 15:24:40 +02:00 |
Nikolay Sivov
|
fb8226f639
|
dwrite: Implement IDWriteInMemoryFontFileLoader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-06 21:48:49 +02:00 |
Nikolay Sivov
|
4236c47023
|
dwrite/tests: Some more tests for in-memory loader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-05 19:33:08 +02:00 |
Nikolay Sivov
|
3fbc00b593
|
dwrite: Consider inline objects overhang metrics for overall layout overhang metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-10-02 10:14:13 +02:00 |
Nikolay Sivov
|
43c16a25eb
|
dwrite: Use single per-process local file loader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-25 22:21:41 +02:00 |
Nikolay Sivov
|
8dc81ed2a4
|
dwrite: Implement AddMapping().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-22 15:13:17 +02:00 |
Nikolay Sivov
|
f2090cb415
|
dwrite/tests: Fix fallback builder test skip.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-22 15:13:06 +02:00 |
Nikolay Sivov
|
c3252c3774
|
dwrite: Added custom IDWriteFontFallback stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-21 14:04:42 +02:00 |
Nikolay Sivov
|
3acbf50068
|
dwrite: Added IDWriteFontFallbackBuilder stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-20 20:04:27 +02:00 |
Nikolay Sivov
|
39dbf09b3f
|
dwrite/tests: Added a helper to initialize test text source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-14 11:22:33 +02:00 |
Nikolay Sivov
|
c4917bdbdf
|
dwrite: Use 8bpp bitmaps in grayscale mode.
Problem analyzed by Kimmo Myllyvirta.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-09-05 17:47:34 +02:00 |
Nikolay Sivov
|
0ea60ffecd
|
dwrite: Fix proportional spacing method.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-28 14:57:10 +02:00 |
Nikolay Sivov
|
1df4e64bbf
|
dwrite: Improve empty contours handling in GetGlyphRunOutline().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-25 08:06:55 +02:00 |
Nikolay Sivov
|
cc49c40f05
|
dwrite: Set leading text alignment for default trimming sign.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 17:46:29 +02:00 |
Nikolay Sivov
|
d58166d47c
|
dwrite: Don't use drawing effect for trimming signs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 17:46:25 +02:00 |
Nikolay Sivov
|
65014bcab5
|
dwrite/tests: A test to draw trimming sign with drawing effect.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 17:46:12 +02:00 |
Nikolay Sivov
|
7bac9a025a
|
dwrite/tests: Some tests for system font set.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-08-24 08:41:19 +09:00 |
Nikolay Sivov
|
ddb78d73ab
|
dwrite/tests: Use empty text in line metrics test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-19 19:13:30 +02:00 |
Nikolay Sivov
|
cef8a52dea
|
dwrite: Explicitly check rendering parameters pointer passed to DrawGlyphRun().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-17 22:24:05 +02:00 |
Nikolay Sivov
|
1e5b9d369b
|
dwrite: Use antialias mode set for bitmap render target.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-17 22:24:01 +02:00 |
Nikolay Sivov
|
e1f191e343
|
dwrite: Improve rendering parameters validation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-17 22:23:50 +02:00 |
Alistair Leslie-Hughes
|
136d9928b6
|
dwrite/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 08:12:41 +02:00 |
Nikolay Sivov
|
74a9894819
|
dwrite/tests: Fix rendering mode variable type (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-05-15 11:11:38 +02:00 |
Nikolay Sivov
|
a7aca059f2
|
dwrite: Update to IDWriteFactory5.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-05-07 16:20:50 -05:00 |
Nikolay Sivov
|
901914519f
|
dwrite/tests: Fully initialize call sequence test data (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-05-01 10:05:44 +02:00 |
Piotr Caban
|
4d02f2fed6
|
dwrite: Fix EUDC font collection use after free issue.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-27 19:00:25 +02:00 |
Nikolay Sivov
|
7cb57e2ee8
|
dwrite: Extract supported image formats from 'sbix' table.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-25 08:45:57 +02:00 |
Nikolay Sivov
|
1b1488fda7
|
dwrite: Look for 'SVG ' table too when checking supported formats.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-24 10:02:30 +02:00 |
Nikolay Sivov
|
b0f50e7e5b
|
dwrite: Partially implement GetGlyphImageFormats().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-21 13:58:13 +02:00 |
Nikolay Sivov
|
0344c19692
|
dwrite: Make CreateFontFaceFromHdc() properly fail on unsupported font format.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-19 20:02:54 +02:00 |
Nikolay Sivov
|
ef31887c40
|
dwrite/tests: Initial tests for GetGlyphImageFormats().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-19 20:02:54 +02:00 |
Nikolay Sivov
|
74f6c99621
|
dwrite/tests: Initial tests for IDWriteInMemoryFontFileLoader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-19 20:02:53 +02:00 |
Nikolay Sivov
|
4745565192
|
dwrite/tests: Test to show that canWrapLineAfter is not fixed up by disabled wrapping.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-19 20:02:53 +02:00 |
Nikolay Sivov
|
be5a4656bd
|
dwrite: Improve font objects refcounting.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-11 14:59:21 +02:00 |
Nikolay Sivov
|
a0b0fac31b
|
dwrite/tests: Test locale name length in DrawGlyphRun().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-10 21:51:39 +02:00 |
Nikolay Sivov
|
e258917a43
|
dwrite: Initial implementation of ComputeGlyphOrigins().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-07 18:05:48 +02:00 |
Nikolay Sivov
|
abfc973c85
|
dwrite: Fix explicit levels returned for LRE and RLE control characters.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-05 16:17:28 +02:00 |
Nikolay Sivov
|
98a8989908
|
dwrite/tests: Some bidi resolution tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-05 16:17:28 +02:00 |
Nikolay Sivov
|
862503df70
|
dwrite/tests: Test number of lines for a failing drawing test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-05 16:17:27 +02:00 |
Nikolay Sivov
|
a42a9940cf
|
dwrite: Classify direction control characters as complex.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-04-05 16:17:27 +02:00 |
Nikolay Sivov
|
3d7fabf627
|
dwrite: Fix off by one error in glyph count adjustment.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-30 22:06:32 +02:00 |
Nikolay Sivov
|
7371325c04
|
dwrite/tests: Test glyph count for each DrawGlyphRun().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-30 22:06:32 +02:00 |
Nikolay Sivov
|
cfe0f33a4a
|
dwrite/tests: Initial test for HasKerningPairs().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-03-20 14:04:07 +01:00 |
Nikolay Sivov
|
849b5dd96d
|
dwrite: Set runHeight attribute for underlines.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-23 15:07:46 +01:00 |
Nikolay Sivov
|
fd6e12af98
|
dwrite/tests: Test runHeight underline attribute with all available fonts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-23 15:07:42 +01:00 |
Francois Gouget
|
f9ef81b3c0
|
dwrite/tests: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
And standardize its parameter name.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-16 08:31:09 +01:00 |
Nikolay Sivov
|
cb0b088551
|
dwrite: Added support for uniform and proportional spacing methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-02 19:50:35 +01:00 |
Nikolay Sivov
|
eb7edb249b
|
dwrite/tests: Line metrics tests with uniform spacing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-01 10:33:51 +01:00 |
Nikolay Sivov
|
9350e57322
|
dwrite/tests: More spacing tests with isDiacritic.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-01 10:33:50 +01:00 |
Nikolay Sivov
|
b9230452ef
|
dwrite/tests: Use shaping properties structure in tests data.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-01 10:33:47 +01:00 |
Nikolay Sivov
|
82d7373318
|
dwrite: Restructure line wrapping logic, fix the way breaking position is selected.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-26 10:43:10 +01:00 |
Nikolay Sivov
|
669d033ee1
|
dwrite: Use OpenType 1.8 'hhea' table structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-25 11:26:27 +01:00 |
Nikolay Sivov
|
08a729fc15
|
dwrite: Use OpenType 1.8 'head' table structure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-25 11:26:24 +01:00 |
Nikolay Sivov
|
6e356742e3
|
dwrite: Improve strikethrough and underline thickness extraction logic.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-20 13:02:05 +01:00 |
Nikolay Sivov
|
a7845c312e
|
dwrite/tests: Run GetPanose() tests on all system fonts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-15 11:29:03 +01:00 |
Nikolay Sivov
|
c22b2192e5
|
dwrite: Improve ConvertFontFaceToLOGFONT using same logic IDWriteFont uses.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-07 14:50:29 +01:00 |
Nikolay Sivov
|
bf23b8a529
|
dwrite: Use system default locale when filling LOGFONT.lfFaceName.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-07 14:50:19 +01:00 |
Nikolay Sivov
|
17586e3082
|
dwrite: Improve face name returned by ConvertFontToLOGFONT().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-05 11:46:35 +01:00 |
Nikolay Sivov
|
3ffa9ee082
|
dwrite/tests: Use defined symbols when testing LOGFONT fields values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-05 11:46:33 +01:00 |
Nikolay Sivov
|
da11bee6c7
|
dwrite: Improve lfWeight values returned by ConvertFontToLOGFONT().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-05 11:46:31 +01:00 |
Nikolay Sivov
|
a7fd13c244
|
dwrite: Fix lfItalic flag as returned by ConvertFontToLOGFONT().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-05 11:46:28 +01:00 |
Nikolay Sivov
|
3316f90418
|
dwrite: Return zeroed fsCsb for OS/2 table of version 0.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-05 11:46:26 +01:00 |
Nikolay Sivov
|
9103ee4c66
|
dwrite: Set fontface pointer and font size for returned color glyph run.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-06 17:39:41 +01:00 |
Nikolay Sivov
|
1e8a706bc3
|
dwrite: Update file type and face type enums.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-06 17:39:39 +01:00 |
Nikolay Sivov
|
badccd8c7c
|
dwrite/tests: Remove unnecessary font face creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-26 23:23:38 +09:00 |
Nikolay Sivov
|
36cce60f8d
|
dwrite/tests: Fix indentation warnings on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-09 23:56:11 +09:00 |
Michael Stefaniuc
|
b8a3fabc0c
|
dwrite/tests: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-01 20:38:55 -05:00 |
Nikolay Sivov
|
9ec714db5d
|
dwrite: Implement newer SetLineSpacing/GetLineSpacing.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-25 19:36:01 +09:00 |
Nikolay Sivov
|
4f01bee4c8
|
dwrite: Filter invalid weight in SetFontWeight().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-20 11:04:02 +09:00 |
Nikolay Sivov
|
02773e1f15
|
dwrite/tests: A couple of tests for matching with invalid font properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-20 11:04:00 +09:00 |
Nikolay Sivov
|
e5fb775142
|
dwrite: Implement SetTrimming() for layout.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-19 09:52:26 +09:00 |
Nikolay Sivov
|
fee64bed45
|
dwrite: Validate CreateTextFormat() arguments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-18 19:31:02 +09:00 |
Nikolay Sivov
|
c4d08275d0
|
dwrite: Check all 'vert' lookups, not just the first one.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-07 11:17:59 +09:00 |
Nikolay Sivov
|
bf211623fd
|
dwrite: Implement another CreateFontFace() variant.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-05 23:22:05 +09:00 |
Nikolay Sivov
|
e30607fdb0
|
dwrite: Implement HasVerticalGlyphVariants().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-05 23:22:04 +09:00 |
Nikolay Sivov
|
90bcff0eae
|
dwrite: Return some of font properties from IDWriteFontFace3 methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-05 23:22:04 +09:00 |
Nikolay Sivov
|
29abc7f172
|
dwrite: Keep original script for NO_VISUAL case.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-04 17:41:04 +09:00 |
Nikolay Sivov
|
96cc50e1d0
|
dwrite/tests: Fix some leaks in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-14 01:03:00 +09:00 |
Nikolay Sivov
|
69caad4469
|
dwrite: Implement IDWriteFontFace3::GetRecommendedRenderingMode().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-07 12:32:21 +09:00 |
Nikolay Sivov
|
a940ab325a
|
dwrite: Resolve BNs and embedding and override formatting characters to preceding level.
Mirrors commit 71cabaa4b9 .
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-21 00:53:51 +09:00 |
Nikolay Sivov
|
474033a4b8
|
dwrite/tests: Remove unused functions (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:36:20 +09:00 |
Nikolay Sivov
|
a3e3dfcef2
|
dwrite/tests: Simplify refcount check a bit.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-18 10:36:14 +09:00 |
Nikolay Sivov
|
a935716f1d
|
dwrite/tests: Get rid of global script analysis variable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-17 11:49:21 +09:00 |
Nikolay Sivov
|
cc610a0933
|
dwrite: Don't reset advances if original and modified advances are the same array.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-17 11:49:16 +09:00 |
Nikolay Sivov
|
7119c50940
|
dwrite/tests: Couple more tests for IDWriteNumberSubstitution creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-17 11:49:12 +09:00 |
Nikolay Sivov
|
c5259f72e3
|
dwrite: Implement IDWriteFontFamily1::GetFontFaceReference().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-06 11:45:25 +09:00 |
Nikolay Sivov
|
e82cf8aa70
|
dwrite: Implement IDWriteFontList1::GetFontFaceReference().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-06 11:45:25 +09:00 |
Nikolay Sivov
|
51154acb6a
|
dwrite: Implement IDWriteFontList1::GetFont().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-06 11:45:25 +09:00 |
Nikolay Sivov
|
890312ccfd
|
dwrite: Validate simulation flags and fail face/reference creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-05 20:40:29 +09:00 |
Nikolay Sivov
|
bda5f57008
|
dwrite: Fix reference equality condition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-05 20:40:24 +09:00 |
Nikolay Sivov
|
ca99107daa
|
dwrite/tests: A test for references returned from IDWriteFontFace3.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-05 20:40:20 +09:00 |
Nikolay Sivov
|
5dc5bb7580
|
dwrite: Implement GetFontSignature().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-05 01:27:51 +09:00 |
Michael Stefaniuc
|
a5e2bd5902
|
dwrite/tests: Use SetRect() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-05-04 01:03:28 +09:00 |
Nikolay Sivov
|
8a6c1d99c3
|
dwrite: Implement newer version of CreateFontFromLOGFONT().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-22 22:33:38 +09:00 |
Nikolay Sivov
|
d9c446050a
|
dwrite: Implement IDWriteFont3::GetFontFaceReference().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-21 15:34:44 +09:00 |
Nikolay Sivov
|
9777c77a57
|
dwrite: Implement IDWriteFont3::HasCharacter().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-21 15:34:44 +09:00 |
Nikolay Sivov
|
fd06cc7c49
|
dwrite: Initial implementation of IDWriteFontFaceReference.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-20 16:55:08 +09:00 |
Nikolay Sivov
|
e55d407430
|
dwrite: Accept local loader in CreateCustomFontFileReference().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-20 16:55:06 +09:00 |
Nikolay Sivov
|
af18a09862
|
dwrite: Handle NULL path in CreateFontFileReference().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-20 16:55:04 +09:00 |
Nikolay Sivov
|
8b8098461d
|
dwrite/tests: Some basic tests for fontface references.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-20 16:55:01 +09:00 |
Nikolay Sivov
|
e48879b13f
|
dwrite/tests: Added GetFontSignature() test.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-20 16:54:59 +09:00 |
Nikolay Sivov
|
897c1d03fa
|
dwrite: Fix IDWriteFactory3 methods order.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-19 21:06:10 +09:00 |
Nikolay Sivov
|
54b89a2942
|
dwrite: Implement GetFontFamily() for IDWriteFontCollection1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-19 21:06:09 +09:00 |
Nikolay Sivov
|
ae85317b1d
|
dwrite: Update to IDWriteRenderingParams3.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-19 21:06:09 +09:00 |
Nikolay Sivov
|
886875f01e
|
dwrite/tests: Use existing macro to define font table tags.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-18 15:08:07 +09:00 |
Nikolay Sivov
|
0d77aaccf1
|
dwrite/tests: Test for lineGap metric.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-18 15:08:05 +09:00 |
Nikolay Sivov
|
c7a174f76b
|
dwrite/tests: Test for superscript/subscript font metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-15 12:33:35 +09:00 |
Nikolay Sivov
|
726e82dde2
|
dwrite/tests: A test for glyphBox* metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-15 01:14:27 +09:00 |
Nikolay Sivov
|
f0dd5a012d
|
dwrite: Only use fsSelection to switch to sTypo* metrics, remove table version check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-13 21:43:03 +09:00 |
Nikolay Sivov
|
137030bf77
|
dwrite: Always return non-zero metrics for strikethrough/underline thickness.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-11 11:36:40 +09:00 |
Nikolay Sivov
|
f94447526a
|
dwrite/tests: Test underline/strikethrough metrics for all system fonts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-11 11:36:38 +09:00 |
Nikolay Sivov
|
7cac7bb99f
|
dwrite: Always initialize context and font table pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-01 18:34:26 +09:00 |
Nikolay Sivov
|
d04a54857c
|
dwrite: Update to IDWriteFactory3.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-28 21:51:14 +09:00 |
Nikolay Sivov
|
7c6dcab73f
|
dwrite: Use regular QI way to return interface client asked for.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-28 21:51:09 +09:00 |
Nikolay Sivov
|
6ff1f38ba2
|
dwrite: Update to IDWriteFontList1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-09 18:40:53 +09:00 |
Nikolay Sivov
|
962f16e94b
|
dwrite: Update to IDWriteFontCollection1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-09 18:40:49 +09:00 |
Nikolay Sivov
|
cf3e92994d
|
dwrite: Implement IDWriteFontFamily1::GetFont().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-09 18:40:47 +09:00 |
Nikolay Sivov
|
05e42a55ec
|
dwrite: Update to IDWriteFontFamily1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-09 18:40:45 +09:00 |
Nikolay Sivov
|
fa6c255f8d
|
dwrite: Update to IDWriteFont3.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-07 23:36:58 +09:00 |
Nikolay Sivov
|
7dd90faaa3
|
dwrite: Fix Unknown/Common/Inherited script categories handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-19 11:08:00 +09:00 |
Frédéric Delanoy
|
4f1a8da1cd
|
dwrite/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-19 00:49:07 +09:00 |
Nikolay Sivov
|
c51212e55b
|
dwrite: Update to IDWriteTextFormat1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-17 13:07:39 +09:00 |
Nikolay Sivov
|
5753e22d21
|
dwrite: Implement InvalidateLayout().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-17 13:07:33 +09:00 |
Nikolay Sivov
|
5ec7a860bf
|
dwrite: Always use system font collection to create fallback fonts.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:38 +09:00 |
Nikolay Sivov
|
1a92176b67
|
dwrite: Add fallback data for some of Japanese ranges.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:38 +09:00 |
Nikolay Sivov
|
fca83b0915
|
dwrite: Use itemizer hint to reset invisible run glyph count.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:38 +09:00 |
Nikolay Sivov
|
297b3d080a
|
dwrite: Force advances to zero for isZeroWidthSpace glyphs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:38 +09:00 |
Nikolay Sivov
|
5d17404287
|
dwrite: Initial implementation of MapCharacters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-15 13:41:20 +09:00 |
Nikolay Sivov
|
af206b1b2d
|
dwrite: Implement stub for system IDWriteFontFallback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-15 13:41:13 +09:00 |
Nikolay Sivov
|
6389f41135
|
gdi32: Fix otmfsSelection to have italic style set in case of oblique simulation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-09 23:27:13 +09:00 |
Nikolay Sivov
|
79fa94c3c2
|
dwrite/tests: Added a drawing test for run reordering case.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-09 23:26:11 +09:00 |
Nikolay Sivov
|
8a4db9fd90
|
dwrite: Implement color glyph run decomposition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-08 20:13:33 +09:00 |
Nikolay Sivov
|
2e927af328
|
dwrite: Implement IsColorFont().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-08 20:13:22 +09:00 |