Hello,
I encountered issue with U+3060 (だ),
gfx.drawText("だ") renders correctly,
but gfx.drawTextInRect("だ", x, y, w, h) renders a fallback glyph (e.g. '?').
The UTF-8 string is correct (confirmed via utf8.codes).
The same font renders correctly with drawText().
This seems to be specific to drawTextInRect() and single-glyph line layout.
(SDK 3.0.1, SImulator on My Mac 26.1)
import "CoreLibs/graphics"
local gfx = playdate.graphics
print("だ")
for _, cp in utf8.codes("だ") do
print(string.format("U+%04X", cp))
end
function playdate.update()
gfx.clear()
-- built-in font
gfx.drawText("だ", 10, 10)
gfx.drawTextInRect("だ", 10, 40, 200, 40)
end
