Skip to content

YueduCoreText 0.4.0

Choose a tag to compare

@CHANG-JUI-LIN CHANG-JUI-LIN released this 12 Sep 15:58
· 135 commits to main since this release

YueduCoreText 0.4.0

Adds basic native vertical-rl text layout and one ruby model for horizontal and vertical text, using the existing logical-coordinate layout pipeline.

  • Incremental pagination and continuous vertical documents, with right-to-left column flow.
  • Public BrowserScrollDocument.documentPoint(forCharOffset:) for source-position restoration in either writing mode.
  • Physical page/document geometry, selection and hit testing; native Core Text vertical glyph forms.
  • Compiled public-API vertical consumer and regressions for ruby, bitmap output, reflow, geometry and cancellation.
  • Updated English, Traditional Chinese and Simplified Chinese integration guides.

This is basic normal-flow vertical text support. Unsupported vertical images, floats and advanced writing-mode features remain explicit diagnostics. Reader fallback policy remains in the host App. Minimum iOS 17 / Swift tools 6.0 and SwiftSoup 2.13.7 are unchanged.

繁體中文

新增基礎 vertical-rl 原生直排、橫直排共用 ruby,以及直排捲動所需的文字位置與幾何 API。Reader 必須將套件最低版本更新至 0.4.0,才能使用 documentPoint(forCharOffset:)。完整支援範圍與座標契約請見 直排文件。

简体中文

新增基础 vertical-rl 原生竖排、横竖排共用 ruby,以及竖排滚动所需的文字位置与几何 API。Reader 必须将包的最低版本更新至 0.4.0,才能使用 documentPoint(forCharOffset:)。完整支持范围与坐标契约请见 竖排文档。

Validation

  • Local iOS Simulator 27 / Xcode 27 beta: 134 package tests and 6 independent public-API consumer tests passed.
  • GitHub Actions (Xcode 16.4): release commit CI.
  • No claim of real-device performance improvement or full EPUB/CSS compliance.