Is this a bug or a incompatibility with fonts

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
lsf22
Regular
Posts: 98
Joined: Wed Feb 23, 2022 9:43 pm
Contact:

Is this a bug or a incompatibility with fonts

#1 Post by lsf22 » Sun Apr 24, 2022 11:39 am

Renpy Version 7.4.11.2266

For some reason when I use a dash in my dialogue it shows a square. The font is a True Type Font (.TTF) and this does not happen with other programs when I use the font. For example in gimp I was able to use the font and the dashes show up correctly. So that leaves me to suspect that the font is incompatible with Ren'py or there is some kind of bug.
Attachments
font error.png

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Is this a bug or a incompatibility with fonts

#2 Post by Imperf3kt » Mon Apr 25, 2022 10:47 pm

Have you checked the font to be sure the dash glyph is present in the font?
I have seen cases like this where the glyph does not exist so some programs use a default glyph from a different font altogether, this may be happening here.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

lsf22
Regular
Posts: 98
Joined: Wed Feb 23, 2022 9:43 pm
Contact:

Re: Is this a bug or a incompatibility with fonts

#3 Post by lsf22 » Tue Apr 26, 2022 11:38 am

The font is Atari Classic Chunky
https://www.fontspace.com/atari-classic-font-f30342

The site lists 549 Glyphs for it. But on my Font manager is shows the info on it having 258 for Glyph Count.

In my font character map utility I can see the dash - under common for Atari classic Chunky
I have provided a screenshot of the glyph in the font utility
Attachments
Font Atari Classic.png
Screenshot

lsf22
Regular
Posts: 98
Joined: Wed Feb 23, 2022 9:43 pm
Contact:

Re: Is this a bug or a incompatibility with fonts

#4 Post by lsf22 » Sat May 14, 2022 11:27 am

Any update on this?

User avatar
m_from_space
Veteran
Posts: 302
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: Is this a bug or a incompatibility with fonts

#5 Post by m_from_space » Sat May 14, 2022 5:31 pm

I think the problem is the .ttf file. The regular Atari dash works, but not the dash inside the chunky font. If you use it in GIMP, it shows a dash, but the dash is not Atari like, because it doesn't have the fixed width like any other character.

You should try fixing the font using a ttf editor I think.

Post Reply

Who is online

Users browsing this forum: No registered users