Skip to content

Text wrapping splits words containing non-ASCII characters #135

Description

@MartinZikmund

Describe the bug

Text wrapping does not properly work for accented characters like ěščřžýáíé.

To Reproduce

  1. Open sample app for Xamarin.Forms
  2. Select Text tab
  3. Enter: ščěěščž čšřžščřž čšřžščř čšřžščř čšřžščř čšřžščř čšřžščř
  4. Resize the window. Notice the line breaks anywhere within the words

Expected behavior

Words with accented characters should not be broken between lines.

Environment (please complete the following information):

  • Platform: CSharpMath.SkiaSharp (in general, not just XF)
  • Package Version or Commit: latest
  • Device: Windows

Maintainer triage (2026-08-30)

This issue now tracks incorrect word breaking for non-ASCII words, including the Czech reproduction above and the Russian reproduction from #192. Font loading, missing glyphs, bold/italic faces, and non-seekable streams are separate concerns and are out of scope here.

Acceptance criteria

  • Text wrapping does not split Czech or Russian words at arbitrary character boundaries.
  • Break opportunities remain correct around spaces and punctuation.
  • Regression tests cover representative Czech and Cyrillic input through the Typography-backed text parser/typesetter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area/RenderingTypesetting, measurement, fonts, text layout, and drawing.Type/BugA reproducible defect in CSharpMath.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions