Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.
This repository was archived by the owner on May 28, 2025. It is now read-only.

[NSLayoutManager __layoutAllText] sometimes throws due to an empty frame #1779

@ms-jihua

Description

@ms-jihua

This can be repro'd in IslandwoodNews after #1778:

CTLineRef fitLine = static_cast(CFArrayGetValueAtIndex(CTFrameGetLines(frame.get()), 0));

When entering an article, the frame will often be empty, causing the underlying CFArray to throw .

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions