Skip to content

parentelement/RichTextKit

 
 

Repository files navigation

Note

This is a heavily modified and modernized fork of RichTextKit from Topten Software and licensed under the Apache 2.0 license. Credit goes to the original author. Here you may find the original website and repository:

Topten Software

Original Source Repository

This fork forms the basis for implementation in platform specific packages for platforms such as Avalonia, Maui, and Uno. Namespaces were prependended to prevent collisions.

RichTextKit

RichTextKit is a rich-text layout, measurement and rendering library for SkiaSharp.

Features

  • Rich text layout
  • Supports most common font styles (bold, italic, underline, super/sub-script etc...)
  • Text shaping using HarfBuzzSharp
  • Font fallback for emoji and int'l character sets
  • Bi-directional and LTR/RTL Text Support (UAX #9)
  • Unicode word-break algorithm (UAX #14)
  • Max height and max line limits
  • Truncate with ellipsis support
  • Text measurement support
  • Hit testing and caret position information
  • Ability to paint selection range highlight
  • Easy to use
  • Minimal dependencies (just SkiaSharp and HarfBuzzSharp)
  • More to be documented soon

About

Rich text rendering for SkiaSharp (Fork from Toptensoftware)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C# 100.0%