186 Commits

Author SHA1 Message Date
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
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
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
38775875c7 dwrite: Initial implementation of Draw(). 2015-05-05 23:15:30 +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
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
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
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
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
947f8e64d5 dwrite: Initially format and layout don't have a fallback set. 2015-03-17 14:19:22 +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
e292385fcd dwrite: Implement GetClusterMetrics(). 2015-01-20 17:52:18 +01:00
Nikolay Sivov
0ee49eb4c8 dwrite: Initial support of cluster metrics computation. 2015-01-20 17:52:16 +01:00
Nikolay Sivov
13083dcd52 dwrite: Use gdi-compatible placements in case of gdi-compatible layouts. 2015-01-09 11:50:22 +01:00
Nikolay Sivov
05fd95e5e4 dwrite: Store additional properties for gdi-compatible layouts. 2015-01-09 11:50:20 +01:00
Nikolay Sivov
b03d4c7a8f dwrite: Set glyph advances and offsets for each run. 2015-01-08 13:12:18 +01:00
Nikolay Sivov
b49a71416d dwrite: Store cluster map and glyph indices for each run. 2015-01-08 13:12:16 +01:00
Nikolay Sivov
fdd8e011ed dwrite: Create fontface instance for each run. 2015-01-07 17:39:03 +01:00
Nikolay Sivov
35a91741d3 dwrite: Move range bounds check to an attribute setting helper. 2015-01-06 12:34:46 +01:00
Nikolay Sivov
48d84eedb5 dwrite: Unify temp value variable name. 2015-01-06 12:34:41 +01:00
Nikolay Sivov
9661f129e0 dwrite: Support family name attribute for ranges. 2015-01-06 12:34:37 +01:00
Nikolay Sivov
ed398419bc dwrite: Fix range comparison by locale name. 2015-01-06 12:34:30 +01:00
Nikolay Sivov
aecec3847a dwrite: Store locale name for each text range. 2015-01-05 16:29:11 +01:00
Nikolay Sivov
8fc7e175dc dwrite: Set string pointer in run description when splitting by bidi levels. 2014-12-30 15:54:18 +01:00
Nikolay Sivov
e7947359fe dwrite: Cleanup layout instance creation, handle memory allocation failures. 2014-12-30 15:54:16 +01:00
Nikolay Sivov
cb4e881963 dwrite: Update breakpoints in case of inline objects. 2014-12-28 19:07:41 +01:00
Nikolay Sivov
83aafaaae8 dwrite: Store nominal breakpoint data in layout. 2014-12-28 19:07:38 +01:00
Nikolay Sivov
ac4c85ea87 dwrite: Split runs according to BiDi levels. 2014-12-28 19:07:31 +01:00
Nikolay Sivov
894737ac55 dwrite: Split each text range into runs by script. 2014-12-23 15:31:10 +01:00
Nikolay Sivov
f4e3005645 dwrite: Font collection pointer is never null when creating text format. 2014-12-16 16:31:34 +01:00
Nikolay Sivov
49c8e98f74 dwrite: Respond to IID_IDWriteTextLayout1 too. 2014-11-07 20:57:03 +09:00