Skip to content

Layout: nested unordered list markers draw as ? in the standard-14 fonts #545

Done

Description

@Tim81

A nested child in a ListStyle.Unordered list is marked with U+25E6 WHITE BULLET (ListRenderer.cs, the childMarker assignment). None of the standard-14 fonts can encode it, so with the default style every nested marker is drawn as ?.

Measured on docs/layout-xml-complete at 9bc9ff8: new ListElement().Add(new ListItem("parent").AddChild("child")) writes (?) Tj before (child) Tj, and Document.TextEncodingWarnings holds one entry, CodePoint = 9702.

The top-level marker is U+2022, which WinAnsi encodes, so only the nested one is affected. A character WinAnsi can encode (for example a hyphen or U+00B7), or a drawn circle, would avoid the substitution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions