Nikolay Sivov
2b96276183
dwrite: Use common structure to pass stream/facetype/index data around.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:51 +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
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
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
c7305c07af
dwrite: Suppress noisy message when parsing name records.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 13:41:32 +09:00
Charles Davis
dcca411ac3
dwrite: Fix typos, and fix definition of Mac LangCodes for Welsh and up.
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Nikolay Sivov
38a99b2f25
dwrite: Add support for PFM files in Analyze().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:17:24 +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
ec3c7d9d3a
dwrite: Accept platform 0 name records if there's nothing, else.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:12:48 +09:00
Nikolay Sivov
032e088c7d
dwrite: Recognize Type1 .pfb files in Analyze().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 13:53:48 +09:00
Nikolay Sivov
076b35362a
dwrite: Rework Analyze() to make it easier to extend.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 13:53:43 +09:00
Nikolay Sivov
d4438dae93
dwrite: Fix comment typos.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 14:19:09 +09:00
Nikolay Sivov
19eaed6a38
dwrite: Return face count of 1 for CFF file type.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 00:29:49 +09:00
Nikolay Sivov
5cb954aa6a
dwrite: Handle fonts with broken usWinDescent values.
2015-10-01 16:29:44 +09:00
Francois Gouget
f87491d5cd
dwrite: Make opentype_get_font_strings_from_id() static.
2015-08-29 14:27:43 +09:00
Nikolay Sivov
2ac68e91a4
dwrite: Improve face name extraction.
2015-08-13 15:04:14 +09:00
Nikolay Sivov
fb013d7acd
dwrite: Fix family name extraction order.
2015-08-13 15:04:12 +09:00
Nikolay Sivov
785c592ada
dwrite: Improve the way font weight is set with both OS/2 and 'head' values.
2015-08-12 22:53:02 +09:00
Nikolay Sivov
123c7cde07
dwrite: Set font stretch from 'head' table as a fallback.
2015-08-12 22:53:00 +09:00
Nikolay Sivov
4b4674bea8
dwrite: Use OS/2 table data to set font style, make it preferable.
2015-08-12 22:52:57 +09:00
Nikolay Sivov
fd35a1af6a
dwrite: Implement GetPaletteEntries().
2015-08-07 14:17:58 +09:00
Nikolay Sivov
5734c2ed98
dwrite: Implement GetPaletteEntryCount().
2015-08-07 14:17:53 +09:00
Nikolay Sivov
20571725f3
dwrite: Implement GetColorPaletteCount().
2015-08-07 14:17:51 +09:00
Nikolay Sivov
e877cfbcfa
dwrite: Implement GetRecommendedRenderingMode().
2015-07-28 13:41:45 +02:00
Sebastian Lackner
402caa632b
dwrite: Avoid dereferencing NULL pointer for fonts without VDMX.
2015-07-13 14:44:49 +09:00
Nikolay Sivov
849bb99b76
dwrite: Implement GetGdiCompatibleMetrics().
2015-07-08 19:12:12 +09:00
Nikolay Sivov
50bf5fca34
dwrite: Implement GetPanose().
2015-07-07 16:52:21 +09:00
Nikolay Sivov
6ff14a9213
dwrite: Use FreeType CMAP cache system instead of parsing tables manually.
2015-02-23 15:26:02 +09:00
Nikolay Sivov
8f9bca9103
dwrite: Implement GetCaretMetrics().
2015-02-03 20:53:07 +09:00
Nikolay Sivov
40d9a2b6d2
dwrite: Make sure we don't have duplicates in locale/value pairs for font names.
2015-01-26 12:06:20 +01:00
Nikolay Sivov
6b0623fb2f
dwrite: Initial implementation of GetTypographicFeatures().
2015-01-26 12:06:18 +01:00
Nikolay Sivov
44bb2ba295
dwrite: Block creation of unsupported face types.
2014-12-11 16:41:14 +01:00
Francois Gouget
eaf4f695d1
dwrite: Add a trailing '\n' to a FIXME().
2014-12-05 20:47:50 +01:00
Nikolay Sivov
82e66b4b47
dwrite: Fix lineGap metric using 'hhea' table values.
2014-11-28 17:04:45 +01:00
Nikolay Sivov
188bfd6fd4
dwrite: Respect typographic metrics when font instructs us to.
2014-11-28 17:04:43 +01:00
Nikolay Sivov
9afd55072f
dwrite: Estimate x-height and cap height metrics if they're missing.
2014-11-27 11:11:24 +01:00
Nikolay Sivov
87a9b51ccc
dwrite: Use usWin* values from OS/2 table as font ascent/descent.
2014-11-25 16:35:03 +01:00
Nikolay Sivov
c457d0f107
dwrite: Handle Unicode platform when looking for name record codepage.
2014-11-19 23:36:35 +09:00
Nikolay Sivov
6ce8cc149e
dwrite: Implement GetMetrics() for DWRITE_FONT_METRICS1.
2014-11-07 20:57:02 +09:00
Nikolay Sivov
19869997d4
dwrite: Added a separate helper to fill font metrics structure.
2014-11-06 15:01:25 +09:00
Nikolay Sivov
3a2de7aef8
dwrite: Map Mac language id to locale name.
2014-11-04 22:49:10 +09:00
Nikolay Sivov
2bc984a5b1
dwrite: Properly null-terminate name string when converting to WCHAR.
2014-10-30 12:00:03 +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
35e9b6d85d
dwrite: Pass raw NAME table pointer to table reading code.
2014-10-24 19:58:05 +09:00
Nikolay Sivov
04a237fe18
dwrite: Implement GetInformationalStrings().
2014-10-21 18:49:14 +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
4c0ec6700c
dwrite: Implement GetUnicodeRanges().
2014-10-16 13:00:16 +09:00