8000 GitHub - react-pdf/textkit: [DEPRECATED] Now in: https://github.com/diegomura/react-pdf/tree/master/packages/textkit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.

react-pdf/textkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textkit

Layout process

  1. split into paragraphs

  2. get bidi runs and paragraph direction

  3. font substitution - map to resolved font runs

  4. script itemization

  5. font shaping - text to glyphs

  6. line breaking

  7. bidi reordering

  8. justification

  9. get a list of rectangles by intersecting path, line, and exclusion paths

  10. perform line breaking to get acceptable break points for each fragment

  11. ellipsize line if necessary

  12. bidi reordering

  13. justification

0