Граф коммитов

145 Коммитов

Автор SHA1 Сообщение Дата
Brad Robinson 2fdf96e006 Fix for strikethrough width too small, update to non-preview 2022-12-05 10:35:40 +11:00
Brad Robinson be6dc264c6 Fix for measured width of richtext strings not including paragraph margins 2022-09-27 11:17:53 +10:00
Brad Robinson 05480108b0 Fix to normalize \r\n to \n. 2022-09-12 11:00:20 +10:00
Brad Robinson f606f78539 Fix for font fallback failing after embedded \n. 2022-06-20 11:03:05 +10:00
Brad Robinson 49c1164cf8 Merge branch 'master' into preview 2022-06-09 11:20:42 +10:00
Brad Robinson fe7a0d517a Fix for missing ellipsis on truncation 2022-06-09 11:20:32 +10:00
XANDER efa38616c9
Add option to control ellipsis #50 (#51)
* Add option to control ellipsis #50

* Add ellipsis option to TextBlock

To cover all the truncation cases: on a paragraph boundary and mid paragraph.
2022-06-09 11:18:41 +10:00
Brad Robinson e7cda997ea Fix for crash when creating textblock objects and drawing on different thead crashing. 2022-05-22 22:41:34 +10:00
Brad Robinson d9bba64855 Revert to SkiaSharp 2.88.0-preview.209 2022-05-17 14:19:21 +10:00
Brad Robinson bdff48aa08 Missing doc comment 2022-05-17 14:19:01 +10:00
Brad Robinson 420ed23ed0 Update to latest Skia 2022-05-17 10:11:48 +10:00
Brad Robinson c10941b8aa Tweaks for too small underline not appearing 2022-03-25 12:29:27 +11:00
Brad Robinson 5c899d9193 Merged halo and font width from master 2022-01-24 13:49:12 +11:00
Brad Robinson 2aa35dcd12 Added missing XML docs 2022-01-24 13:45:09 +11:00
charlenni cee3a5fb4d
Added Halo for FontRun (#44)
* Added Halo to IStyle and Style
Added handling of Halo in FontRun
Added examples to SandboxDriver

* Added halo to RichString

Co-authored-by: Brad Robinson <github@toptensoftware.com>
2022-01-24 13:33:16 +11:00
charlenni 4aa2415ac5
Added a property for FontWidth (#46)
* Added a property in IStyle (and everywhere else) for FontWidth (as normal, condensed and expanded)

* Corrected a comment

* Removed enum FontWidthStyle and replaced it by SKFontStyleWidth

* Removed unused enum FontWidthStyle
2022-01-24 13:30:04 +11:00
Brad Robinson 7d10d78130 Update to SkiaSharp 2.88.179 2022-01-15 14:14:15 +11:00
Brad Robinson bcb85baf6e Added TextBlock.RenderWidth to align non wrapped paragraphs. Fixed exception in WordBoundary logic. Added DefaultAlignment to TextDocument 2021-12-19 11:20:56 +11:00
Brad Robinson 30ac3a8cc2 Added repository URL to csproj 2021-12-07 12:28:01 +11:00
Brad Robinson 0d82246560 Update to SkiaSharp Preview 2021-12-07 12:00:59 +11:00
Brad Robinson 720e083f7c New TextPaintProperties for Font edging, hinting and sub-pixel positioning 2021-10-10 15:33:30 +11:00
Brad Robinson 7ae8d87bee Added ability to set font hinting for rendered text 2021-10-10 12:28:03 +11:00
Brad Robinson 7b224269b8 Fix index out of range when attempting to paint starting beyond end of document 2021-10-07 11:27:51 +11:00
Brad Robinson 16ba185cf7 Fixes for selection handle paint 2021-08-15 15:13:51 +10:00
Brad Robinson ccbc396602 Added support for rendering touch screen selection handles 2021-08-15 13:53:00 +10:00
Brad Robinson fd3bc26aa8 Fix for not cropping non-wrapped first line if exceeds max height 2021-08-04 12:32:43 +10:00
Brad Robinson a0fdb883cd Include PDBs in package and added SourceLink support 2021-08-04 11:29:02 +10:00
Brad Robinson 0e1d01a0b4 Additional exception logging 2021-07-21 11:54:38 +10:00
Brad Robinson 7f47ae82ef Minor improvements to ellipsis handling when MaxLines set 2021-07-15 14:26:50 +10:00
Brad Robinson c9753a9bc8 Better exception messages for out of range slice ranges. 2021-04-19 09:57:55 +10:00
Brad Robinson 02611ab62e
Merge pull request #31 from sady4850/leading
FontMetrics.Leading support
2021-03-09 11:11:40 +11:00
Brad Robinson 05eed8338c Merge branch 'master' of github.com:toptensoftware/RichTextKit 2021-02-28 21:17:05 +11:00
Brad Robinson ce92dc0730 Fixed memory leak when multiple layouts of same text block 2021-02-28 21:16:47 +11:00
Dmitry Barkhov 3434f1d173 Leading support 2021-02-09 13:23:23 +03:00
Dmitry Barkhov d02f767114 PreviousRun fix 2021-02-06 20:34:16 +03:00
Brad Robinson b53d813b66 Added background color support to RichString 2020-12-14 13:37:13 +11:00
dmitry.barakhov c575302d9c take Style.BackgroundColor into account in IStyleExtensions methods 2020-12-11 17:26:51 +03:00
dmitry.barakhov 9db56f61b3 add backgroundColor parameter to StyleManager.Update method 2020-12-11 17:25:29 +03:00
dmitry.barakhov f3ecd026c2 add backgroundColor parameter to Style.Modify method 2020-12-11 17:23:20 +03:00
dmitry.barakhov 19482b14f4 FontRun background color suport 2020-12-11 14:43:53 +03:00
Brad Robinson f25bccade4 Fix for incorrect strike through line position 2020-12-11 08:47:19 +11:00
Brad Robinson f6331bed53 Update to latest skiasharp/harfbuzz 2020-12-09 21:35:10 +11:00
Brad Robinson de63dfca14 Merge branch 'master' into editor 2020-10-26 18:12:43 +11:00
Brad Robinson 0983fab53d Fix for consecutive text with different font size not shaped correctly 2020-10-26 18:09:03 +11:00
Brad Robinson e92039f77c XML Docs 2020-09-23 10:17:02 +10:00
Brad Robinson 5ae4b1fb7d Support for text editor passwords, ime work, plain text and single line modes etc... 2020-09-08 11:24:30 +10:00
Brad Robinson 770bd37293 Merge master 2020-09-03 09:30:25 +10:00
Brad Robinson 192907270c Docs 2020-09-02 10:01:04 +10:00
Brad Robinson 19211f9c9e Missing docs 2020-09-02 09:59:33 +10:00
Brad Robinson 9d143a869c Added ability to provide custom font fallback selection via FontFallback.CharacterMatcher. 2020-09-02 09:54:03 +10:00