Space between KANJI stretch to match furigana

How can i achieve normal spacing between kanji when furigana (ruby) (which might be longer) stretches the kanji text? The spacing always hints at how long the furigana word is so it spoils it. For reference, when the set of kanji are wider than the furigana spelling, the kanji are spaced normally but it just stretches when its the reverse.

PLEASE HELP! :frowning:



This is not an issue with the kanji: filter. I assume you’re not using that to hide the furigana on front. See Field Replacements - Anki Manual.

For example, on the front you’ll have:

{{kanji:Question}}

On backside:

{{furigana:Question}}

Hey sorata, ive been looking through the site but i am such a simpleton when it comes to stuff like this and I cant really understand what I am doing wrong. Is there any chance you can see here what the problem is with the script that I have. would really appreciate anyhelp, I have rare pokemon in ankimon that I would gladly give you. :pleading_face:




Sure, in the front template you’ll need to replace {{Question}} with this:

{{kanji:Question}} 

In the back template, replace {{FrontSide}} with this:

{{furigana:Question}}

After this, you can have a card with Question field like this:

 雨空[あまぞら]

This will show up without furigana on front, and with furigana on the back. Let know if it works.

Haha, I don’t need it but thanks.

I did the changes, but the spacing is still off :pensive_face:


Another thing you can try is changing visibility: hidden; to visibility: none; in the front-side styling.

I didn’t notice you had custom styling for your ruby text. It’s better you remove it if you don’t particularly need it.