Nikolay Sivov
|
d171185062
|
dwrite: Reuse linebreaking isSoftHyphen flag for cluster metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-26 22:40:34 +09:00 |
Nikolay Sivov
|
00766538c5
|
dwrite: Reuse linebreaking whitespace flag when filling cluster metrics.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-26 22:40:31 +09:00 |
Nikolay Sivov
|
0b7f857845
|
dwrite: Zero width space U+200b is not a whitespace from analyzer/layout point of view.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-26 22:40:27 +09:00 |
Nikolay Sivov
|
a62a9fcc1f
|
dwrite: Fix underline/strikethrough position adjustment caused by text alignment.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:44 +09:00 |
Nikolay Sivov
|
3fa5ebd014
|
dwrite: Remove useless assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:40 +09:00 |
Nikolay Sivov
|
2626f80b01
|
dwrite: Don't check for line overflow for DWRITE_WORD_WRAPPING_NO_WRAP mode.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:36 +09:00 |
Nikolay Sivov
|
10b843bb22
|
dwrite: Update line breaking logic with Unicode 8.0.0 modifications.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:31 +09:00 |
Nikolay Sivov
|
68c45de6ae
|
dwrite: Fix off by one issue in line breaking rule LB21a.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:27 +09:00 |
Nikolay Sivov
|
91df67df0c
|
dwrite: Cluster text position is relative to initial run.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-25 16:11:23 +09:00 |
Nikolay Sivov
|
eae84e7dde
|
dwrite: Return earlier from GetKerningPairAdjustments() when pair kerning is not supported.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-22 17:54:59 +09:00 |
Nikolay Sivov
|
ed3b5a42be
|
dwrite: Ask freetype once about kerning pairs support and monospaced property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-22 17:54:59 +09:00 |
Nikolay Sivov
|
6024656f98
|
dwrite: Underline reading direction matches run direction.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-20 14:48:57 +09:00 |
Nikolay Sivov
|
adfd1ad2ce
|
dwrite: Underline origin is always at the left run boundary.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-20 14:48:53 +09:00 |
Nikolay Sivov
|
ff8f129af6
|
dwrite: Use callback freetype API to implement GetGlyphRunOutline().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-19 20:48:07 +09:00 |
Nikolay Sivov
|
f586683e78
|
dwrite/tests: A test to compare font metrics with bold simulation and without.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-18 14:19:18 +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
|
ac7954b7b9
|
dwrite: Always initialize out pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-15 23:53:06 +09:00 |
Nikolay Sivov
|
0874c7be15
|
dwrite: Store locale name range attribute in lower case.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-15 15:11:10 +09:00 |
Nikolay Sivov
|
c5fce83f3d
|
dwrite: Implement support for underlines.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-15 15:11:04 +09:00 |
Nikolay Sivov
|
943fb2c071
|
dwrite: Scale strikethrough thickness and position with current font size.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-14 16:32:56 +09:00 |
Nikolay Sivov
|
261563f28e
|
dwrite: Handle bitmap allocation error when rendering to bitmap target.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-14 16:32:52 +09:00 |
Nikolay Sivov
|
18b0ca3fe3
|
dwrite: Fix strikethrough baseline origin.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-13 16:05:02 +09:00 |
Nikolay Sivov
|
1a8e957b19
|
dwrite: Pass drawing effect to renderer in DrawStrikethrough().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-13 16:04:56 +09:00 |
Nikolay Sivov
|
2b5928b228
|
dwrite: Pass drawing effect to renderer in DrawGlyphRun().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-13 16:04:50 +09:00 |
Nikolay Sivov
|
c0fb6f436b
|
dwrite: Keep underlines in separate list.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-13 16:04:46 +09:00 |
Nikolay Sivov
|
a4562cca50
|
dwrite: Start new effective run on strikethrough, underline or effect change.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-13 16:04:39 +09:00 |
Nikolay Sivov
|
0f67df657d
|
dwrite: Fix a leak on error path.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-11 23:05:51 +09:00 |
Nikolay Sivov
|
f6862b13b7
|
dwrite: Make position snapping more compact.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-11 23:05:49 +09:00 |
Nikolay Sivov
|
74f00fa17d
|
dwrite: Consistently use explicit float literals.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-11 23:05:46 +09:00 |
Nikolay Sivov
|
b1094bc7d7
|
dwrite: Store locale name in lower case for text format.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-09 17:30:03 +09:00 |
Nikolay Sivov
|
f8a228d261
|
dwrite/tests: Some tests for drawing underlines.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-09 17:30:03 +09:00 |
Nikolay Sivov
|
57bfebfc80
|
dwrite: Implement EUDC font collection.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-29 17:11:51 +01:00 |
Nikolay Sivov
|
ead6905ddb
|
dwrite/tests: Some tests for SetUnderline().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-29 17:11:46 +01:00 |
Nikolay Sivov
|
8165cba0f8
|
dwrite/tests: Fix test failures on older versions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-29 17:11:42 +01:00 |
Nikolay Sivov
|
b02e61c4b3
|
dwrite: Fix identical ranges merging.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:39 +01:00 |
Nikolay Sivov
|
3c16587ed4
|
dwrite: Locale layout ranged attribute is case-insensitive.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:37 +01:00 |
Nikolay Sivov
|
6ba2c25d45
|
dwrite: Store optical alignment property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:35 +01:00 |
Nikolay Sivov
|
3905ed8c47
|
dwrite: Store last line wrapping property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:33 +01:00 |
Nikolay Sivov
|
7a83be7bd2
|
dwrite: Optimize for the most common case of layout object initialization.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:30 +01:00 |
Nikolay Sivov
|
e9d4725326
|
dwrite: Store per-range typography property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:28 +01:00 |
Nikolay Sivov
|
f845cca0dc
|
dwrite/tests: One more test for duplicates in IDWriteTypography.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-25 14:07:21 +01:00 |
Nikolay Sivov
|
2bdf470177
|
dwrite/tests: Some tests for fallback builder.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-10 00:12:43 +09:00 |
Nikolay Sivov
|
55e53648b4
|
dwrite/tests: Some tests for MapCharacters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-09 00:53:41 +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
|
446fddb122
|
dwrite/tests: Remove unused assignment (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-12 11:29:22 +09:00 |
Nikolay Sivov
|
c4b894db63
|
dwrite: Remove a couple of dead assignments (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-12 11:29:09 +09:00 |
Nikolay Sivov
|
a5127f5fc5
|
dwrite/tests: Simple test to show that run analysis instances are not reused.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-04 14:41:40 +09:00 |
Nikolay Sivov
|
b6f1e74ced
|
dwrite: Apply run reading direction to advances and offsets on analysis creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-04 14:41:40 +09:00 |
Nikolay Sivov
|
d3b6b437ed
|
dwrite: When assembling run bitmap combine instead of overwriting.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-03 13:47:18 +09:00 |
Nikolay Sivov
|
170e31a8b2
|
dwrite: Added support for transform in glyph run analysis.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-03 00:33:27 +09:00 |
Nikolay Sivov
|
5da26de7c3
|
dwrite: Store origin, advances and offsets as vectors for run analysis.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-03 00:33:26 +09:00 |
Nikolay Sivov
|
6cc62d09bb
|
dwrite: Store transform analysis was created with.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-11-03 00:33:26 +09:00 |
Nikolay Sivov
|
4afb30c544
|
dwrite/tests: Fixed some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-29 21:20:08 +09:00 |
Nikolay Sivov
|
9441b26dc5
|
dwrite: Fail earlier in TranslateColorGlyphRun() for fonts without color info.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-29 21:20:07 +09:00 |
Nikolay Sivov
|
d829c50cbe
|
dwrite: Fix streams and files pointer arrays leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-29 21:20:07 +09:00 |
Nikolay Sivov
|
edea5fc342
|
dwrite: Fix analysis leak on error path.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-29 10:53:55 +09:00 |
Nikolay Sivov
|
ad88407c93
|
dwrite/tests: Add missing return value test (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-28 12:45:03 +09:00 |
Nikolay Sivov
|
ce6f6f7421
|
dwrite: Use dpiX/dpiY argument in GetRecommendedRenderingMode().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-28 12:45:03 +09:00 |
Nikolay Sivov
|
5e1c0315a1
|
dwrite/tests: Some tests for GetRecommendedRenderingMode() with different ppdip values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-27 21:45:19 +09:00 |
Nikolay Sivov
|
08a3e4f29f
|
dwrite: Respect transform when calculating glyph advances for run analysis.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-20 00:30:37 +09:00 |
Nikolay Sivov
|
9389bcdb51
|
dwrite: Set bitmap target ppdip factor from context dpi.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-20 00:30:37 +09:00 |
Nikolay Sivov
|
d36a16ea10
|
dwrite: Scale run origin by given ppdip run analysis was created with.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-20 00:30:37 +09:00 |
Nikolay Sivov
|
2fdee67dd2
|
dwrite: Scale glyph run analysis advances and offsets with ppdip factor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-20 00:30:37 +09:00 |
Nikolay Sivov
|
a23b395e87
|
dwrite: Use given ppdip factor in GetAlphaTextureBounds().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-16 19:56:26 +09:00 |
Nikolay Sivov
|
83d484834d
|
dwrite: Return strictly 0/1 for BOOL return type (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-13 22:20:47 +09:00 |
Nikolay Sivov
|
4b6a7e78e9
|
dwrite: Avoid HRESULT codes for BOOL retval methods (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-13 22:20:44 +09:00 |
Nikolay Sivov
|
925dc6da8f
|
dwrite: Ignore embedded bitmaps when asked for outline.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-11 13:46:50 +09:00 |
Nikolay Sivov
|
819d36786e
|
gdi32: Improve structure layout of data returned by GetFontRealizationInfo().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-09 13:00:32 +09:00 |
Nikolay Sivov
|
f2b830ec76
|
dwrite: Properly implement CreateFontFaceFromHdc().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
|
2015-10-06 22:19:53 +09:00 |
Nikolay Sivov
|
e8c1cf4402
|
Update data tables to Unicode 8.0.0.
|
2015-10-02 15:37:05 +09:00 |
Nikolay Sivov
|
5cb954aa6a
|
dwrite: Handle fonts with broken usWinDescent values.
|
2015-10-01 16:29:44 +09:00 |
Nikolay Sivov
|
20e6181304
|
dwrite: Print font table tag in string form in traces.
|
2015-09-15 22:51:03 +09:00 |
Nikolay Sivov
|
37d10af966
|
dwrite/tests: Some tests for TranslateColorGlyphRun().
|
2015-09-10 18:10:36 +09:00 |
Nikolay Sivov
|
b55e599a4d
|
dwrite: Implement GetFontCollection() for matching list.
|
2015-09-08 21:59:15 +09:00 |
Nikolay Sivov
|
9c19898217
|
dwrite: Implement GetFont() for matching list.
|
2015-09-08 21:59:15 +09:00 |
Nikolay Sivov
|
42a99a8de5
|
dwrite: Track face styles added to a family.
|
2015-09-08 21:59:15 +09:00 |
Nikolay Sivov
|
6dd9cdca4b
|
dwrite: Return stub IDWriteFontList from GetMatchingFonts().
|
2015-09-08 21:59:15 +09:00 |
Nikolay Sivov
|
8747fa2b9f
|
dwrite/tests: Fix some test failures on Win10.
|
2015-09-04 18:18:31 +09:00 |
Nikolay Sivov
|
fe848b26c7
|
dwrite: Make CreateFontFace() fail with DWRITE_E_FILEFORMAT for supported types in case of type mismatch.
|
2015-09-04 18:18:29 +09:00 |
Nikolay Sivov
|
b4ce95c1ab
|
dwrite: Make sure same files are scanned once when building font collection.
|
2015-09-04 15:10:18 +09:00 |
Nikolay Sivov
|
30108c730e
|
dwrite: Increase a number of allocated family slots for system collection.
|
2015-09-03 14:49:56 +09:00 |
Nikolay Sivov
|
7581b11d2b
|
dwrite: Remove GetFaceNames() hack for simulated case.
|
2015-09-03 14:49:55 +09:00 |
Nikolay Sivov
|
a10d75e597
|
dwrite: Add simulated oblique faces.
|
2015-09-03 14:49:53 +09:00 |
Nikolay Sivov
|
e38d9bc68e
|
dwrite: Add simulated bold faces for each family when appropriate.
|
2015-09-03 14:49:51 +09:00 |
Nikolay Sivov
|
a22d5ed948
|
dwrite: Force reported English family/face names to resolved values.
|
2015-09-01 19:27:07 +09:00 |
Nikolay Sivov
|
9a6b0750c7
|
dwrite: Recognize semi light weight patterns.
|
2015-08-31 17:18:32 +09:00 |
Nikolay Sivov
|
c0ab20caf9
|
dwrite: Implement family and face name resolution.
|
2015-08-31 17:18:31 +09:00 |
Francois Gouget
|
f87491d5cd
|
dwrite: Make opentype_get_font_strings_from_id() static.
|
2015-08-29 14:27:43 +09:00 |
Nikolay Sivov
|
26fbbdc48b
|
dwrite: Implement grayscale rendering mode.
|
2015-08-27 21:43:46 +09:00 |
Nikolay Sivov
|
3f4a284f58
|
dwrite: Bitmap buffer is zeroed on allocation, no need to do it again.
|
2015-08-27 17:10:22 +09:00 |
Nikolay Sivov
|
2c4ba8a008
|
dwrite: Cleanup rendering interface with freetype.
|
2015-08-27 17:10:20 +09:00 |
Nikolay Sivov
|
f52ef006cd
|
dwrite: Use proper pixel format when accessing dib memory directly.
|
2015-08-24 18:41:35 +09:00 |
Nikolay Sivov
|
b9f05239d2
|
dwrite: Return advances using freetype cache system.
|
2015-08-24 18:41:34 +09:00 |
Nikolay Sivov
|
4a1e6227ed
|
dwrite: Handle QI failure (Coverity).
|
2015-08-24 08:23:09 +09:00 |
Nikolay Sivov
|
3ffe6ab0bb
|
dwrite: Handle failure when getting texture bounds (Coverity).
|
2015-08-24 08:23:06 +09:00 |
Nikolay Sivov
|
4c12157c34
|
dwrite/tests: Fix analyzer test failures on Win10.
|
2015-08-21 14:33:33 +09:00 |
Nikolay Sivov
|
8dd0738b1c
|
dwrite/tests: Fix layout test failure on Win10.
|
2015-08-21 14:33:31 +09:00 |
Nikolay Sivov
|
1f54400bbf
|
dwrite: Protect from space-only strings when trimming away spaces.
|
2015-08-19 20:19:56 +09:00 |
Nikolay Sivov
|
6b98b9ac70
|
dwrite: Extract and resolve font weight from name string.
|
2015-08-19 20:19:56 +09:00 |
Nikolay Sivov
|
4a399b7677
|
dwrite: Implement font stretch resolution.
|
2015-08-19 20:19:56 +09:00 |
Nikolay Sivov
|
5185906006
|
dwrite: Implement font style resolution from name strings.
|
2015-08-18 14:30:37 +09:00 |
Nikolay Sivov
|
433b7c04c7
|
dwrite: Use aliased outline threshold for GDI target.
|
2015-08-17 14:52:22 +09:00 |
Nikolay Sivov
|
204d46c674
|
dwrite: Implement outline mode for DrawGlyphRun().
|
2015-08-17 14:52:20 +09:00 |
Nikolay Sivov
|
22a65466b3
|
dwrite/tests: Some tests for target hdc mode/transform.
|
2015-08-13 15:04:16 +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
|
f5f025f1dd
|
dwrite: Use better font matching algorithm based on weight/stretch/style triples.
|
2015-08-12 22:53:04 +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
|
c7d1b91154
|
dwrite: Fix font table tag tracing.
|
2015-08-12 22:52:55 +09:00 |
Nikolay Sivov
|
e1f353663a
|
dwrite: Fix IsColorFont() return type for IDWriteFont2.
|
2015-08-07 14:18:03 +09:00 |
Nikolay Sivov
|
93d24de308
|
dwrite: Added IDWriteColorGlyphRunEnumerator stub.
|
2015-08-07 14:18:01 +09:00 |
Nikolay Sivov
|
fd35a1af6a
|
dwrite: Implement GetPaletteEntries().
|
2015-08-07 14:17:58 +09:00 |
Nikolay Sivov
|
4df29eb02f
|
dwrite/tests: Basic test for GetPaletteEntries().
|
2015-08-07 14:17:56 +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
|
14e4996f6c
|
dwrite: Implement CreateGlyphRunAnalysis() from IDWriteFactory2.
|
2015-08-07 14:17:48 +09:00 |
Nikolay Sivov
|
8133684816
|
dwrite: Use right charmap for symbol encoding.
|
2015-08-07 00:05:06 +09:00 |
Nikolay Sivov
|
ab7c65ae43
|
dwrite: Implement IsSymbolFont().
|
2015-08-07 00:05:04 +09:00 |
Nikolay Sivov
|
7540fa5a1a
|
dwrite: Properly initialize LOGFONT returned from ConvertFontToLOGFONT().
|
2015-08-07 00:05:01 +09:00 |
Nikolay Sivov
|
6597453403
|
dwrite: Release run info as soon as it's rendered to save some memory.
|
2015-08-04 12:21:59 +02:00 |
Nikolay Sivov
|
720c430594
|
dwrite: Advances and offsets are optional for IDWriteGlyphRunAnalysis.
|
2015-08-04 12:21:58 +02:00 |
Nikolay Sivov
|
dc75b34ddf
|
dwrite: Fix outline translation before rendering.
|
2015-08-03 10:58:06 +02:00 |
Nikolay Sivov
|
44c301c584
|
dwrite: Implement DrawGlyphRun().
|
2015-07-31 12:07:28 +02:00 |
Nikolay Sivov
|
e08b77b0a9
|
dwrite: Implement CreateAlphaTexture().
|
2015-07-31 12:07:26 +02:00 |
Nikolay Sivov
|
6d1f47902b
|
dwrite: Translate rendered bitmap bounds to given origin.
|
2015-07-31 12:07:23 +02:00 |
Nikolay Sivov
|
5137aaa9c9
|
dwrite: Implement parameter validation for CreateAlphaTexture().
|
2015-07-29 21:44:01 +02:00 |
Nikolay Sivov
|
b50416aa5f
|
dwrite: Implement GetAlphaTextureBounds().
|
2015-07-29 21:44:01 +02:00 |
Nikolay Sivov
|
2c6eca8682
|
dwrite: Implement GetAlphaBlendParams().
|
2015-07-29 20:57:04 +02:00 |
Nikolay Sivov
|
fb35557db9
|
dwrite: Store run info for IDWriteGlyphRunAnalysis instance.
|
2015-07-29 20:57:02 +02:00 |
Nikolay Sivov
|
e877cfbcfa
|
dwrite: Implement GetRecommendedRenderingMode().
|
2015-07-28 13:41:45 +02:00 |
Nikolay Sivov
|
aac3a069e4
|
dwrite/tests: Some tests for GetRecommendedRenderingMode().
|
2015-07-28 13:41:45 +02:00 |
Nikolay Sivov
|
5178c8b111
|
dwrite: Update cached bitmap size on Resize() as well.
|
2015-07-22 15:16:05 +02:00 |
Nikolay Sivov
|
a66ba8957e
|
dwrite: Bitmap render target uses top-down DIB.
|
2015-07-22 15:15:58 +02:00 |
André Hentschel
|
b4b65d8284
|
dwrite: Remove unused initializer (Clang).
|
2015-07-22 07:24:35 +02:00 |
Nikolay Sivov
|
491e84a771
|
dwrite/tests: Some tests for isNewline clusters.
|
2015-07-20 20:56:04 +02:00 |
Nikolay Sivov
|
c8b0c80365
|
dwrite: Round centered alignment shift for compatible layouts.
|
2015-07-20 20:56:04 +02:00 |
Nikolay Sivov
|
a718a9a5ca
|
dwrite/tests: Some tests for bounds returned by GetAlphaTextureBounds().
|
2015-07-20 20:56:04 +02:00 |
Nikolay Sivov
|
5231715d31
|
dwrite: Improve parameter validation in GetGdiCompatibleGlyphAdvances(), add some tests.
|
2015-07-20 20:56:04 +02:00 |
Nikolay Sivov
|
2655ac5f93
|
dwrite: Aliased texture could only be requested for aliased rendering mode.
|
2015-07-17 19:28:04 +09:00 |
Nikolay Sivov
|
42ed6ddd30
|
dwrite: Fix vector transformation in GetGlyphOrientationTransform().
|
2015-07-16 19:22:39 +09:00 |
Nikolay Sivov
|
2132a060ea
|
dwrite: Round advances returned from GetGdiCompatibleGlyphPlacements().
|
2015-07-16 19:22:37 +09:00 |
Nikolay Sivov
|
a92390f707
|
dwrite/tests: Some tests for CreateGdiCompatibleTextLayout().
|
2015-07-16 19:22:35 +09:00 |
Nikolay Sivov
|
e68c6389b1
|
dwrite: Properly pass measuring mode to renderer.
|
2015-07-16 19:22:33 +09:00 |
Nikolay Sivov
|
a3f2b6b856
|
dwrite: Partial implementation of GetGdiCompatibleGlyphMetrics().
|
2015-07-16 16:29:46 +09:00 |
Nikolay Sivov
|
e94d977006
|
dwrite: Partially implement GetGdiCompatibleGlyphAdvances().
|
2015-07-15 23:19:13 +09:00 |
Nikolay Sivov
|
f46aa66ca7
|
dwrite: Fix transform matrix usage for pixel snapping.
|
2015-07-15 16:56:53 +09:00 |
Nikolay Sivov
|
a32168bc49
|
dwrite/tests: Fix trimming sign instance leak (Valgrind).
|
2015-07-14 17:07:46 +09:00 |
Nikolay Sivov
|
0b64f24030
|
dwrite: Make sure explicit levels are always initialized (Valgrind).
|
2015-07-14 17:07:43 +09:00 |