Skip to main content

Module rendering

Module rendering 

Source
Expand description

Rendering primitives: text engine, UI draw helpers, e-ink constants.

  • text_render - HarfBuzz shaping + fontdue rasterization -> RGB565
  • common - shared rendering state (IS_RTL) and body-text size constant
  • layout - word_wrap_bytes() and sentences_with_ranges() (pure text)
  • draw - progress bars, rounded rects, nav bars (RGB565 byte-buffer ops)
  • eink - MXCFB ioctl structs, waveform constants, diff_rows()
  • density - panel ppi lookup and dp() physical-size-stable sizing

Modulesยง

common
Shared rendering state and constants.
density
Physical-size-stable sizing across the Kobo fleet.
draw
eink
E-ink framebuffer constants, MXCFB ioctl structs, and row-diff helper.
layout
Pure text-layout functions: word wrapping and sentence segmentation.
loader
Loading indicators for splash and loading screens.
text_render