You should consider joining our Discord to ask for support.

We created a support channel using the new Discord Forum feature!

You can also visit our new website, it has a help section in English and French

0 like 0 dislike
7.6k views
in Bug by (520 points)
closed by
So apostrophes aren't being shown correctly in some of the dialogues and wanted to know if this due to how psdk was programmed or just because of the font I'm using?

Current font id parameters are as follow:

- :id: 0

      :name: arkpixel10

      :size: 10

      :line_height: 16

    - :id: 1

      :name: arkpixel10

      :size: 10

      :line_height: 16

    - :id: 20

      :name: arkpixel10

      :size: 10

      :line_height: 13

https://imgur.com/a/gHm4j7l
closed with the note: answered

2 Answers

0 like 0 dislike
by (28.0k points)
selected by
 
Best answer

The main reason you have this issue is that Pokémon uses apostrophe ’ and your keyboard can only enter single quote ' which are two different characters. Your font does not handle the apostrophe.

What you can do to solve this issue would be this:

module PFM

  module Text

      def get(file_id, text_id)

get_dialog_message(CSV_BASE + file_id, text_id).tr("’ʼ","''")

end

end

end

Otherwise adding the missing glyph to the font can work and is safer (but harder)

0 like 0 dislike
by (14.8k points)
In your case, that's the font you're using that doesn't manage apostrophes.
by (520 points)
Won't matter anymore since I'm changing fonts but the font does manage it since it shows for "don't" and "What's" as seen in the screenshot
by (14.8k points)
I think that's not the same apostrophe. There are two characters.
...