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

Repetition of words when using the fallback font #423

Open
1 task done
th0mr opened this issue Nov 9, 2023 · 0 comments
Open
1 task done

Repetition of words when using the fallback font #423

th0mr opened this issue Nov 9, 2023 · 0 comments
Labels
bug crash rinohtype aborts due to an uncaught exception

Comments

@th0mr
Copy link
Contributor

th0mr commented Nov 9, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Sphinx or rinoh output

Whenever something like this occurs:

TeX Gyre Pagella does not include a normal medium upright font. Falling back to normal regular upright
TeXGyrePagella-Regular does not contain glyph for unicode index 0x2308 (⌈)

Source files

Hi, I have ran into an issue when using symbols that are not in the primary font.

When I ran into this "in the wild" it was causing the last word on the previous line to be repeated as the first word of the next line. However, when producing a minimal example this issue can cause multiple words to be repeated, even multiple times over multiple lines. (See example)

I dont quite know what is causing this, but I thought it may be worth bringing it to your attention

Zip file: minimal_fallback_issue.zip

RST input:
"When a symbol that is not in the main font such as this one ⌈ is present and the line spans over to the next line causes words to be repeated"

Creates:
image

As you can see parts of the line are being repeated, where they should not.

Versions

rinoh 0.5.5 (in development)
sphinx-build 5.3.0
Python 3.8.10
Windows-10-10.0.19045-SP0
@th0mr th0mr added bug crash rinohtype aborts due to an uncaught exception labels Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash rinohtype aborts due to an uncaught exception
Projects
None yet
Development

No branches or pull requests

1 participant