Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load NotoColorEmoji.ttf #2142

Open
nagolove opened this issue Jan 24, 2025 · 1 comment
Open

Could not load NotoColorEmoji.ttf #2142

nagolove opened this issue Jan 24, 2025 · 1 comment
Labels
feature New feature or request

Comments

@nagolove
Copy link

I tried to run script that should render emoji like 🎯

love.graphics.setFont(love.graphics.newFont("NotoColorEmoji.ttf", 32))

but it was failed with

Error: TrueType Font loading error: FT_Set_Pixel_Sizes failed: 0x17 (invalid size?)
stack traceback:
	[love "boot.lua"]:352: in function <[love "boot.lua"]:348>
	[C]: at 0x745881aaae20
	[C]: in function 'newFont'
	main.lua:6: in main chunk
	[C]: in function 'require'
	[love "boot.lua"]:323: in function <[love "boot.lua"]:126>
	[C]: in function 'xpcall'
	[love "boot.lua"]:362: in function <[love "boot.lua"]:355>
	[C]: in function 'xpcall'

Other fonts like Dejavu loaded successfully. Checked on 5b4ced2 versioin.

@slime73
Copy link
Member

slime73 commented Jan 24, 2025

love doesn't currently support color truetype fonts.

@slime73 slime73 added the feature New feature or request label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants