8000 GitHub - forenoonwatch/rich-text: Rich text parser, layout engine, and renderer built on top of FreeType, Harfbuzz, and ICU
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

forenoonwatch/rich-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rich Text

This is a prototype codebase containing the necessary code for displaying and editing rich text in a manner suitable for integrating in game engines, and with unicode support comparable to that which is found in browsers or operating systems.

Topics to Investigate

Layout and Rendering

  • ✓ LTR and RTL line break aware paragraph layout
  • ✓ Bidirectional text support
  • ✗ Vertical text layout
  • ✓ Per-script font fallbacks
  • ✓ Common font fallbacks
  • ✓ Family fallbacks
  • ✓ Inline font size and face switching
  • ✓ icu4c-compatible text run parsing
  • ✓ Full feature unicode support (Complex scripts, Emoji, Zalgo text, etc)
  • ✓ Color glyph support
  • ✓ Dynamic glyph atlas
  • ✗ Scalable text rendering (SDF, Vector)
  • ✓ Synthetic weight
  • ✓ Synthetic italic
  • ✓ Synthetic smallcaps
  • ✓ Synthetic subscript/superscript

Text Input

  • ✓ OS text event and Input Method Editor support
  • ✓ Clipboard integration and accelerators (Ctrl+X, Ctrl+C, Ctrl+V)
  • ✓ Character break aware cursor navigation (mouse, arrow keys)
  • ✓ Basic text selection (click and drag, shift+arrow keys)
  • ✓ Word, line, and full text aware navigation (Ctrl+arrow keys, Ctrl+A, Home, End, Ctrl+Home, Ctrl+End, n-clicking text area)
  • ✗ Undo, Redo (Ctrl+Z, Ctrl+Y)

Rich Text Markup

  • ✓ Color
  • ✗ Transparency
  • ✓ Font family
  • ✓ Font size
  • ✓ Font weight
  • ✓ Bold
  • ✓ Italic
  • ✓ Underline
  • ✓ Strikeout
  • ✓ Stroke color
  • ✓ Stroke transparency
  • ✓ Stroke thickness
  • ✓ Stroke join type
  • ✓ Uppercase modifier
  • ✗ Lowercase modifier
  • ✗ Titlecase modifier
  • ✓ Smallcaps modifier
  • ✓ Subscript modifier
  • ✓ Superscript modifier
  • ✗ Line break <br />
  • ✗ XML escape sequences e.g. &lt;
  • ✓ Comment
  • ✗ SIMD-accelerated parsing

Dependencies

Resources

About

Rich text parser, layout engine, and renderer built on top of FreeType, Harfbuzz, and ICU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0