Skip to content

lynx-family/lynx-textra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Introduction

LynxTextra is a high-performance, cross-platform text layout engine. Its core is implemented in C++ and wrapped with platform-specific bindings, making it easy to integrate on iOS, Android, OpenHarmony, macOS, etc.

It supports a wide range of text layout features, including:

Category Attribute Example
Paragraph Style horizontal_alignment Horizontal Alignment
vertical_alignment Vertical Alignment
indent Indent
paragraph spacing Note: space_before and space_after currently not used by the layout engine.
line spacing Line Spacing
write_direction Write Direction
ellipsis Ellipsis
max_lines Max Lines
line_height_override Line Height Override
half_leading Half Leading
enable_text_bounds Enable Text Bounds
overflow_wrap Overflow Wrap
line_break_strategy Line Break Strategy
Text Style font_descriptor Font Descriptor
text_size Text Size
foreground_color Foreground Color
background_color Background Color
decoration_color
decoration_type
decoration_style
decoration_thickness_multiplier
Decoration
vertical_alignment Vertical Alignment
letter_spacing Word & Letter Spacing
word_break Word Break
baseline_offset Baseline Offset
text_shadow_list Text Shadow
Other Configuration last_line_can_overflow Last Line Overflow
skip_spacing_before_first_line Skip Spacing

Getting Started

See demos/README.md for details.

Building

See platform/README.md for details.

Testing

See test/README.md for details.

How to Contribute

We are devoted to ensuring a positive, inclusive, and safe environment for all contributors. Please find our Code of Conduct for detailed information.

We welcome you to join and become a member of Lynx Authors. It's people like you that make this project great.

Please refer to our contributing guide for details.

Discussions

Bugs and feature requests are filed in Github Issues

You are always very welcome to join the Discord Channel and meet others who are enthusiastic about making LynxTextra great.

Credits

LynxTextra incorporates or draws inspiration from the design and implementation of the following open-source libraries. We gratefully acknowledge the work of the developers and the open-source communities behind these projects:

LynxTextra is licensed under the Apache License 2.0. See LICENSE for details.

About

Cross-platform text layout engine with rich text style support.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •