29 Commits (e5aff32225899b30994855886cbd059fd69e67cf)

Author SHA1 Message Date
Alexandre Mutel e5aff32225 Fix TextLayout.Width calculation (#18305) (#18310) 2 years ago
Benedikt Stebner 56f6296066 Calculate Bounds and InkBounds for TextLayout to be able to calculate the minmal required width. (#17721) 2 years ago
Herman K 88967de49e
Ability to configure font features (#14157) 3 years ago
Benedikt Stebner cc507ba359 Handle extra lines during hit testing 3 years ago
Benedikt Stebner e69661b353 Rework MaxLines to limit how many lines are visible at once and don't prevent additional input if MaxLines is reached 3 years ago
Benedikt Stebner f153c626f8 Fix TextLineImpl.GetCharacterHitFromDistance for lines that include a TextEndOfLine run 3 years ago
Benedikt Stebner a6bc0f9f73 [TextLayout] Do not call Draw with current TextLine.Start offset 3 years ago
Benedikt Stebner 1ecdf32520 Remove trailing whitespace for right aligned text 4 years ago
Benedikt Stebner 14fba2e53a Rework HitTestTextRange 4 years ago
Julien Lebosquain 5ffd961742 Perf: improved text wrapping 4 years ago
Julien Lebosquain a24e48f105 Text layout: ensure RentedList are returned in case of exceptions 4 years ago
Julien Lebosquain 63f6ef63af Perf: pass FontManager and typefaces around during text layout 4 years ago
Julien Lebosquain 91f89c5176 Added FormattingObjectPool to reduce temp allocs during text layout 4 years ago
Julien Lebosquain 658fd804af Removed some temporary List<T> from text layout 4 years ago
Sergey Mikolaitis 39374451dd [Text] Add pooling to shapedBuffer. works only with dispose. 4 years ago
Benedikt Stebner 9f309415c1 Allow to process non text TextRuns 4 years ago
Benedikt Stebner 895d85aa89 Implement CharacterBufferReference and related classes 4 years ago
Benedikt Stebner 17b2834d21 Implement letter spacing 4 years ago
Benedikt Stebner 81b0dce302 Fix RichTextBlock Inlines update handling 4 years ago
Benedikt Stebner 03b8b2eb5e Show ellipsis when MaxLines are reached 4 years ago
Benedikt Stebner eb627f393c More fixes 4 years ago
Benedikt Stebner 6ab5774b80 Introduce TextLine.Justify for custom justification 4 years ago
Benedikt Stebner 6502fa1ef7 More TextAlignment fixes 4 years ago
Benedikt Stebner 006aef2388 Rework hit testing to not rely on cluster values and instead use the currently covered TextSourceLength 4 years ago
Benedikt Stebner 69f9e017f3 Fix text selection 4 years ago
Benedikt Stebner 050ac5fbba Fix line metrics for empty lines that are processed by TextWrapping 4 years ago
Steven Kirk fb0da85ad3
Merge core libraries. (#5831) 4 years ago
Benedikt Stebner 768024a879 Implement InlineUIContainer 4 years ago
Benedikt Stebner 59d8f86509 Better WPF compat 4 years ago
Benedikt Stebner 9250d93407 Implement embedded runs 4 years ago
Dariusz Komosinski 6bcf9c2973 Refactor text trimming and implement prefix trimming. 5 years ago
Benedikt Stebner bfae67dbdb Fix text edit shortcuts 5 years ago
Benedikt Stebner 1db3296611 Fix TextBlock/TextPresenter measure/arrange 5 years ago
Benedikt Stebner 525af8f869 Fix selection rect merge 5 years ago
Benedikt Stebner 3d992ce75b Fix selection when the mouse is moved underneath the bounding box 5 years ago
Dariusz Komosinski 361bfeb1a0 Foreground can be nullable as well. 5 years ago
Dariusz Komosinski af97568819 Text can be nullable. 5 years ago
Benedikt Stebner 74be5c807d Merge selection rects if they overlap 5 years ago
Benedikt Stebner 79298e3375 Fix nit 5 years ago
Benedikt Stebner 4bac7fd953 Fix HitTestTextRange bidi 5 years ago
Benedikt Stebner 27c7a5c724 Fix issues mentioned during review 5 years ago
Benedikt Stebner 3f32f8e390 Fix GetLineIndexFromCharacterIndex 5 years ago
Benedikt Stebner b815a22d5a Port WPF's FormattedText to Avalonia and rework TextPresenter 5 years ago
ingen084 3908e4d71d
Fix text wrapping behavior (#7397) 5 years ago
Steven Kirk 22a55fed27 Added a lot of nullable annotations to Avalonia.Visuals. 5 years ago
Benedikt Stebner 9bc9cd46fe Include the TextLine's Start offset to the TextLayout's size calculation. 5 years ago
Benedikt Schroeder 08a72e893c Increase TextFormatter compatibility with WPF's version 5 years ago
Benedikt Schroeder 888dd2b61b Simplify PushPostTransform usage 6 years ago
Benedikt Schroeder c2fad766e5 Rework GlyphRun BaselineOrigin 6 years ago
Benedikt Schroeder a2a0fba1c2 Ignore invisible characters 6 years ago