You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit, which moved CFF dictionary argument from i32 to f32, breaks outlining for very large fonts. The reason is that some of the private dict offsets are so big that a roundtrip through f32 changes them. This could be fixed simply by switching that part to f64 as it can represent every i32 losslessly.
I encountered the problem with Noto Serif CJK SC, glyph id 20785. Before the commit, outlining worked and after it, outline_glyph returns None.
The text was updated successfully, but these errors were encountered:
The commit, which moved CFF dictionary argument from i32 to f32, breaks outlining for very large fonts. The reason is that some of the private dict offsets are so big that a roundtrip through f32 changes them. This could be fixed simply by switching that part to f64 as it can represent every i32 losslessly.
I encountered the problem with Noto Serif CJK SC, glyph id 20785. Before the commit, outlining worked and after it,
outline_glyph
returnsNone
.The text was updated successfully, but these errors were encountered: