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
|
3c494e82e3
|
dwrite: Keep content based line height and baseline separately.
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
|
b280c3bf2e
|
dwrite: Improve line breaking logic.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-31 15:58:44 +01:00 |
Nikolay Sivov
|
76c31950fe
|
dwrite: Added support for DWRITE_WORD_WRAPPING_CHARACTER mode.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-31 15:58:43 +01:00 |
André Hentschel
|
e07e8293b9
|
dwrite: Remove dead initialization (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>
|
2017-01-31 08:52:02 +01:00 |
Nikolay Sivov
|
426a5d4a5f
|
dwrite: Implement GetOverhangMetrics().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-27 16:31:41 +01:00 |
Nikolay Sivov
|
1e8f554ef9
|
dwrite: Initial support for line trimming signs.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-26 10:43:12 +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
|
3871981e3a
|
dwrite: Invalidate layout on box changes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-26 10:43:08 +01:00 |
Nikolay Sivov
|
e9ff71f62b
|
dwrite: Remove existing effective runs before evaluating them again.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-26 10:43:06 +01:00 |
Nikolay Sivov
|
c32a19f198
|
dwrite: Implement another variant of CreateGlyphRunAnalysis().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-26 10:43:03 +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
|
274a82b33c
|
dwrite: Let freetype face cache manage lifetime of requested file fragments.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-18 23:07:22 +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
|
6d0fa4cebc
|
dwrite: Fully initialize shared factory vtable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-20 13:01:27 +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
|
93829e4b2b
|
dwrite: Fix a typo in assertion condition (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-12 19:14:19 +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
|
93ac04d608
|
dwrite: Skip entries prefixed with '@' in system font file enumerator.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-12-02 11:43:14 +01:00 |
Nikolay Sivov
|
89565b5e1e
|
dwrite: Make it clear that wine_dbgstr_longlong() output is in hex.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-16 13:20:17 -06:00 |
Nikolay Sivov
|
4c7e136013
|
dwrite: Update script list with latest additions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-06 17:40:05 +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
|
9bf1114d71
|
dwrite: Update to IDWriteFontFace4.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-10-30 17:07:38 +01:00 |
Nikolay Sivov
|
988cf549fc
|
dwrite: Update to IDWriteFactory4.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-10-11 16:59:33 +02: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
|
1c7a1f8f27
|
dwrite: Fail stream creation on file mapping failure.
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
|
52bbc64a67
|
dwrite: Handle zero specified weight as normal.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-15 12:55:27 +09:00 |
Sebastian Lackner
|
1540a19359
|
dwrite: Fix font stretch name conversion table.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-15 12:55:25 +09:00 |
Nikolay Sivov
|
ff57b1febb
|
dwrite: Sanitize specified stretch value, valid range is [1, 9].
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-15 12:55:22 +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 |
Nikolay Sivov
|
ff6f31de76
|
dwrite: Add missing return value check (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-08-04 09:07:32 -05: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
|
fe2aa15516
|
dwrite: Added missing script tags.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-25 19:36:08 +09:00 |
Nikolay Sivov
|
43c61820fb
|
dwrite: Update to DWRITE_LINE_METRICS1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-25 19:36:06 +09:00 |
Nikolay Sivov
|
32c1ef019a
|
dwrite: Only invalidate lines if line spacing changed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-25 19:36:04 +09: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
|
0973f4655a
|
dwrite: Implement GetOverhangMetrics() for trimming sign.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-07-20 11:03:58 +09:00 |