-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the bug
a combined emoji like βπ» will be drawn as two emoji
To Reproduce
Steps to reproduce the behavior:
text = "βπ»"
surface = skia.Surface(50,50)
paint = skia.Paint(AntiAlias=True, Color=skia.Color(0,0,0,255))
typeface = skia.FontMgr().matchFamilyStyleCharacter( "Noto Sans CJK SC",skia.FontStyle().Normal,["zh", "en"], ord(text))
font = skia.Font(typeface,10)
blob = skia.TextBlob(text, font)
canvas.drawTextBlob(blob, 30,30, paint)
Expected behavior
single emoji appears on the image
Desktop (please complete the following information):
- OS: Ubuntu20.04
- Python: 3.10
- skia-python version: 87.5
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request