mono / SkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.46k stars 539 forks source link

[BUG] iOS 18 Chinese rendering bug #3029

Open cho-trackman opened 2 weeks ago

cho-trackman commented 2 weeks ago

Description

I've experiencing this regression on iOS 18 when drawing the degree symbol °.

iOS 17.5

iOS 17

iOS 18.0

iOS 18

Code

Simple project to reproduce: https://github.com/cho-trackman/SkiaIos18Bug

Expected Behavior

A normal looking degree symbol (°). It works on all iOS versions prior to 18. It also works in Japanese and Korean on iOS 18.

Actual Behavior

You'll see different character than a degree symbol.

Version of SkiaSharp

2.88.8 (Current)

Last Known Good Version of SkiaSharp

Other (Please indicate in the description)

IDE / Editor

Other (Please indicate in the description)

Platform / Operating System

iOS

Platform / Operating System Version

iOS/iPadOS 18.0

Devices

No response

Relevant Screenshots

No response

Relevant Log Output

No response

Code of Conduct

cho-trackman commented 2 weeks ago

I've just added a CoreGraphics part to test repo (https://github.com/cho-trackman/SkiaIos18Bug), but also realized that maybe it should have been done in CoreText to reflect how Skia is drawing (I don't know).

cho-trackman commented 2 weeks ago

Sample project updated with CoreText as well.

iOS 17.5

Simulator Screenshot - iPad Pro 11-inch (M4) - 2024-10-07 at 11 09 04

iOS 18.0.1

IMG_72A203CE458B-1