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 |
Nikolay Sivov
|
2b59cf84be
|
dwrite: Fix EndFigure notification in GetGlyphRunOutline().
|
2015-07-13 14:45:18 +09:00 |
Nikolay Sivov
|
fda08897e4
|
dwrite: Remove excessive tracing when forwarding to IDWriteTextFormat1.
|
2015-07-13 14:45:16 +09:00 |
Nikolay Sivov
|
04ae4bfb2c
|
dwrite: Implement GetMetrics() for trimming sign.
|
2015-07-13 14:45:15 +09:00 |
Nikolay Sivov
|
e6d5c03fde
|
dwrite: Handle negative emsize in GetGdiCompatibleMetrics().
|
2015-07-13 14:45:13 +09:00 |
Nikolay Sivov
|
2f79a876f9
|
dwrite: Implement SetWordWrapping() for layout.
|
2015-07-13 14:45:11 +09:00 |
Nikolay Sivov
|
cf5d9848d8
|
dwrite: Check GetGdiCompatibleMetrics() return value (Coverity).
|
2015-07-13 14:45:08 +09:00 |
Nikolay Sivov
|
66efbbbae2
|
dwrite: Implement pixel snapping in Draw().
|
2015-07-13 14:44:59 +09:00 |
Sebastian Lackner
|
402caa632b
|
dwrite: Avoid dereferencing NULL pointer for fonts without VDMX.
|
2015-07-13 14:44:49 +09:00 |
Nikolay Sivov
|
0dcc9ead9e
|
dwrite: Properly set run origin in DWRITE_READING_DIRECTION_RIGHT_TO_LEFT case.
|
2015-07-09 23:17:44 +09:00 |
Nikolay Sivov
|
8201fa14c9
|
dwrite: Fix alignment shifts in RTL case.
|
2015-07-09 23:17:44 +09:00 |
Nikolay Sivov
|
6d52bc59c0
|
dwrite: Implement SetReadingDirection() for layout.
|
2015-07-09 23:17:44 +09:00 |
Nikolay Sivov
|
849bb99b76
|
dwrite: Implement GetGdiCompatibleMetrics().
|
2015-07-08 19:12:12 +09:00 |
Bernhard Übelacker
|
119501fee8
|
dwrite: Call RegEnumValueW with value and val_count parameters.
|
2015-07-08 16:02:24 +09:00 |
Nikolay Sivov
|
9375b06c3a
|
dwrite/tests: Extend GetGdiCompatibleMetrics() test to test DWRITE_FONT_METRICS1 as well.
|
2015-07-07 16:52:21 +09:00 |
Nikolay Sivov
|
50bf5fca34
|
dwrite: Implement GetPanose().
|
2015-07-07 16:52:21 +09:00 |
Nikolay Sivov
|
bb0c6f74a5
|
dwrite: Implement centered text alignment.
|
2015-07-07 16:52:20 +09:00 |
Nikolay Sivov
|
f039e15182
|
dwrite: Remove a couple of useless checks.
|
2015-07-07 16:52:20 +09:00 |
Huw Davies
|
bbf5b249ca
|
dwrite/tests: Add tests for GetGdiCompatibleMetrics.
|
2015-07-06 17:09:48 +09:00 |
Nikolay Sivov
|
b49f9f609a
|
dwrite/tests: Test that pair kerning affects shaping.
|
2015-07-06 15:13:22 +09:00 |
Nikolay Sivov
|
862ac80a0d
|
dwrite: Implement paragraph alignment.
|
2015-07-06 15:13:20 +09:00 |
Nikolay Sivov
|
44c135dd17
|
dwrite: Implement leading and trailing text alignment modes.
|
2015-07-06 15:13:18 +09:00 |
Nikolay Sivov
|
de46f610fe
|
dwrite: Make it possible to set text alignment on created layout.
|
2015-07-06 15:13:16 +09:00 |
Nikolay Sivov
|
7a64715be3
|
dwrite: Remove separate line count layout field.
|
2015-07-06 15:13:14 +09:00 |
Nikolay Sivov
|
8b566b1da7
|
dwrite: Reset calculated text height before updating it.
|
2015-07-03 22:58:07 +09:00 |
Nikolay Sivov
|
ed54767030
|
dwrite: Store layout width/height directly in metrics structure.
|
2015-07-03 22:58:05 +09:00 |
Nikolay Sivov
|
d86f2af3b6
|
dwrite: Add last cluster width to line width.
|
2015-07-02 13:43:00 +09:00 |
Nikolay Sivov
|
a940c9b970
|
dwrite: Initial layout GetMetrics() implementation.
|
2015-07-02 13:42:58 +09:00 |
Nikolay Sivov
|
e27a13e3a2
|
dwrite: Always set canWrapLineAfter for last cluster.
|
2015-06-29 21:13:29 +09:00 |
Nikolay Sivov
|
1002119a60
|
dwrite: Clip range length to text length when updating breakpoints.
|
2015-06-29 21:13:25 +09:00 |
Nikolay Sivov
|
9c54176f5c
|
dwrite: Fix number of clusters effective run is built on.
|
2015-06-29 21:13:21 +09:00 |
Nikolay Sivov
|
3976cc459d
|
dwrite: Update current line count when adding metrics for new line.
|
2015-06-29 21:13:14 +09:00 |
Nikolay Sivov
|
9148e87291
|
dwrite: Fix clustermap shifting for effective run.
|
2015-06-26 20:35:07 +09:00 |
Nikolay Sivov
|
872e569744
|
dwrite: Properly reduce glyph count of effective run.
|
2015-06-26 20:35:07 +09:00 |
Nikolay Sivov
|
69d5e351f9
|
dwrite: Call SetFillMode() once per run.
|
2015-06-23 15:08:11 +09:00 |
Nikolay Sivov
|
643125e50f
|
dwrite: Set baseline origin Y for reported runs.
|
2015-06-23 15:08:09 +09:00 |
Nikolay Sivov
|
88663caf74
|
dwrite/tests: Show that line baseline is relative to this line.
|
2015-06-23 15:08:07 +09:00 |
Nikolay Sivov
|
8adc6679e9
|
dwrite: Set line baseline/height from font metrics.
|
2015-06-23 15:08:05 +09:00 |
Nikolay Sivov
|
b43850a363
|
dwrite: Store character spacing layout settings.
|
2015-06-22 19:17:35 +09:00 |
Nikolay Sivov
|
86a7f329be
|
dwrite: Forward GetRecommendedRenderingMode() to newer method.
|
2015-06-22 19:16:49 +09:00 |
Nikolay Sivov
|
b4592cbc7c
|
dwrite: Count last cluster length too when building a line.
|
2015-06-19 17:01:17 +09:00 |
Nikolay Sivov
|
e8c4951a2a
|
dwrite: Actually set isWhitespace for space clusters.
|
2015-06-19 17:01:15 +09:00 |
Nikolay Sivov
|
f68f63152f
|
dwrite: Set cluster length together with other metrics.
|
2015-06-19 17:01:12 +09:00 |
Nikolay Sivov
|
5df702af9e
|
dwrite/tests: Initial test for GetBaseline().
|
2015-06-18 21:41:02 +09:00 |
Nikolay Sivov
|
0b84556f8d
|
dwrite/tests: Initial test for GetLineMetrics().
|
2015-06-18 21:41:02 +09:00 |
Nikolay Sivov
|
0ec13316a7
|
dwrite: Validate format property values.
|
2015-06-16 16:50:22 +09:00 |
Nikolay Sivov
|
b7fb00e9aa
|
dwrite: Fix the way drawing effects are reported for inline objects.
|
2015-06-15 15:29:04 +09:00 |
Nikolay Sivov
|
6655b0c93a
|
dwrite: Call GetCount() once when looking for family name.
|
2015-06-15 15:29:04 +09:00 |
Nikolay Sivov
|
6fd4f963f6
|
dwrite: Initial implementation of Draw() for trimming sign.
|
2015-06-15 15:29:03 +09:00 |
Nikolay Sivov
|
6304a0f50a
|
dwrite: Check format directions in CreateEllipsisTrimmingSign().
|
2015-06-15 15:29:03 +09:00 |
Nikolay Sivov
|
de2ae5e1b8
|
dwrite: Fix splitted range length, initial test for GetMetrics().
|
2015-06-15 15:29:03 +09:00 |
Nikolay Sivov
|
4addd20aaa
|
dwrite/tests: Test to show that GetCurrentTransform/GetPixelsPerDip are not really used from Draw().
|
2015-06-15 15:29:03 +09:00 |
Nikolay Sivov
|
eca362bd76
|
dwrite: Fix problems with outline conversion and reporting.
|
2015-06-10 15:26:10 +09:00 |
Alexandre Julliard
|
3494fb7f72
|
kernel32: Avoid resolving imports against the advapi32 forwards.
|
2015-06-10 15:26:05 +09:00 |
Nikolay Sivov
|
1a2d520ee1
|
dwrite: Exit earlier when setting property for zero length range.
|
2015-06-09 22:09:57 +09:00 |
Nikolay Sivov
|
ffeba2348a
|
dwrite: Use [0,~0u) as initial range for strikethrough settings.
|
2015-06-09 22:09:57 +09:00 |
Nikolay Sivov
|
9d74a11efb
|
dwrite/tests: A test for case-sensitivity of SetFontFamilyName.
|
2015-06-09 22:09:57 +09:00 |
Nikolay Sivov
|
7be1159479
|
dwrite: Validate per-range attribute values.
|
2015-06-08 15:47:41 +09:00 |
Nikolay Sivov
|
496aec11e5
|
dwrite: Use [0,~0u) as initial text range.
|
2015-06-08 15:47:39 +09:00 |
Nikolay Sivov
|
fc3ec14404
|
dwrite/tests: Some tests for setting per-range layout properties.
|
2015-06-05 18:38:43 +09:00 |
Nikolay Sivov
|
b8e3fbe0c1
|
dwrite: Report strikethrough ranges to renderer.
|
2015-06-05 18:38:38 +09:00 |
Nikolay Sivov
|
e31881a6c9
|
dwrite: Store strikethrough settings in a separate list.
|
2015-06-05 18:38:32 +09:00 |
Nikolay Sivov
|
6d87a451a2
|
dwrite: Added a range data header to distinguish range kinds.
|
2015-06-05 18:38:29 +09:00 |
Nikolay Sivov
|
72dcc4d437
|
dwrite/tests: Test actual strings being reported to a renderer.
|
2015-06-05 18:38:26 +09:00 |
Nikolay Sivov
|
6f99f196fc
|
dwrite: Fix potential null pointer access in GetFontCollection() (Coverity).
|
2015-06-04 15:55:29 +09:00 |
Nikolay Sivov
|
9351596538
|
dwrite: Fix potential null pointer dereference in GetInlineObject() (Coverity).
|
2015-06-02 20:53:43 +09:00 |
Nikolay Sivov
|
c230b32777
|
dwrite: Handle GetBreakConditions() failure.
|
2015-06-01 14:48:33 +09:00 |
Nikolay Sivov
|
10ff42097f
|
dwrite: Handle inline object GetMetrics() failure.
|
2015-06-01 14:48:29 +09:00 |
Nikolay Sivov
|
fe2f6b77a8
|
dwrite: Properly report drawing effect in DrawGlyphRun()/DrawInlineObject().
|
2015-06-01 14:48:25 +09:00 |
Nikolay Sivov
|
89e1a5fb75
|
dwrite: Fix wrong run data reported to a renderer.
|
2015-06-01 14:48:21 +09:00 |
Nikolay Sivov
|
2099b109ea
|
dwrite: Report inline objects in Draw().
|
2015-06-01 14:48:15 +09:00 |
Nikolay Sivov
|
112d20e89c
|
dwrite: Forward GetGdiCompatibleGlyphPlacements() to corresponding font methods.
|
2015-06-01 14:48:08 +09:00 |
Nikolay Sivov
|
a921941a17
|
dwrite: Implement GetGlyphOrientationTransform().
|
2015-05-29 15:00:03 +09:00 |
Nikolay Sivov
|
39d71c52ef
|
dwrite/tests: Some tests for control characters handling.
|
2015-05-27 19:35:00 +09:00 |
Nikolay Sivov
|
76577c8e4b
|
dwrite: Fix breakpoint update logic.
|
2015-05-25 21:43:17 +09:00 |
Nikolay Sivov
|
90ed96a766
|
dwrite: Fix splitting by bidi levels.
|
2015-05-22 18:04:45 +09:00 |
Nikolay Sivov
|
f4790714fe
|
dwrite: Added IDWriteGlyphRunAnalysis stub.
|
2015-05-19 22:57:43 +09:00 |
Nikolay Sivov
|
38775875c7
|
dwrite: Initial implementation of Draw().
|
2015-05-05 23:15:30 +09:00 |
Nikolay Sivov
|
47224510b4
|
dwrite/tests: Test character spacing applied to cluster metrics.
|
2015-05-04 20:10:48 +09:00 |
Nikolay Sivov
|
4fa8d3a444
|
dwrite: Improve run tracing format.
|
2015-05-01 17:39:22 +09:00 |
Nikolay Sivov
|
1d815a2801
|
dwrite: Fix typo in SetStrikethrough().
|
2015-05-01 17:39:20 +09:00 |
Nikolay Sivov
|
14158a71db
|
dwrite: Implement ApplyCharacterSpacing().
|
2015-04-27 15:10:29 +09:00 |
Nikolay Sivov
|
a457b5e069
|
dwrite: Trace text strings up to specified length.
|
2015-04-23 20:43:20 +09:00 |
Nikolay Sivov
|
d7a40fd298
|
dwrite: Track a run this cluster came from.
|
2015-04-23 20:43:20 +09:00 |
Nikolay Sivov
|
68edc995c5
|
dwrite: Set some more cluster properties.
|
2015-04-23 20:43:20 +09:00 |
Nikolay Sivov
|
0c27e5cd66
|
dwrite: Fix script position reported with SetScriptAnalysis().
|
2015-04-21 23:45:00 +09:00 |
Nikolay Sivov
|
e0403efc21
|
dwrite: Added a helper to get source text pointer.
|
2015-04-21 23:44:59 +09:00 |
Julius Schwartzenberg
|
20aee0673d
|
dwrite: Font search is case insensitive.
|
2015-04-13 15:49:38 +09:00 |
Nikolay Sivov
|
551f0a157f
|
dwrite: Return S_OK from AnalyzeNumberSubstitution().
|
2015-04-07 15:10: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
|
93a21a8b57
|
dwrite: Pass sideways run flag to shaping methods.
|
2015-03-27 00:12:07 +09:00 |
Nikolay Sivov
|
437fb07438
|
dwrite: Forward IDWriteTextLayout::GetMetrics() to IDWriteTextLayout2::GetMetrics().
|
2015-03-24 18:16:42 +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
|
da1d6097ed
|
dwrite: Remove unused helper.
|
2015-03-18 19:36:39 +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
|
23c2ef2fcd
|
dwrite: Implement HasKerningPairs().
|
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
|
5eccb1322d
|
dwrite: Actually return NULL names pointer and error code when failed to read them.
|
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
|
c1ecf862a4
|
dwrite: Make a deep copy of family name string (Valgrind).
|
2015-03-12 13:56:28 +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
|
6ff14a9213
|
dwrite: Use FreeType CMAP cache system instead of parsing tables manually.
|
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
|
980c65f126
|
dwrite: Use vertical variants in GetGlyphs() when appropriate.
|
2015-02-18 23:22:19 +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 |