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

Invisible umlaut dots with font Hack and font size 10 #2854

Closed
radioactiveman opened this issue Jul 26, 2021 · 1 comment
Closed

Invisible umlaut dots with font Hack and font size 10 #2854

radioactiveman opened this issue Jul 26, 2021 · 1 comment
Labels
duplicate This has already been reported

Comments

@radioactiveman
Copy link
Contributor

Bug description

Geany does not show the two dots on Umlaut characters like Ä Ö Ü when using the font Hack with font size 10.
Only this size and only capitalized characters are affected.

Other applications like a xfce4-terminal or LibreOffice show the dots with the same font and font size.
Is Geany responsible for the font rendering? May this be a bug in Scintilla?

Screenshots

Default settings
Dots-missing

Increased line heights
Dots-visible

System

  • Arch Linux
  • Geany 1.37.1
  • GTK 3.24.24
  • ttf-hack 3.003

Workaround
Increasing the line height (see FAQ) or using another font helps.

@elextr
Copy link
Member

elextr commented Jul 26, 2021

Same problem as #2502 pinned issue.

Just for the record I use Hack 10 pt and all the dots show with default settings with a 27" QHD screen but are fainter than 9 or 11 pt indicating that they are partly cut off.

As explained in the multitude of duplicates of the issue it depends critically on the relationship of points (1/72 inch so an actual size) and screen resolution in pixels per inch on your screen and which way the calculation rounds when converting from floating point fractions of an inch that the font is defined in, to integer pixels on the screen. Sometimes it rounds down and cuts stuff off, but only on some screens with some font sizes.

At some time in the future a change to the way Scintilla does the rounding may help, but it also may just shift the problem to a different combination of fonts, sizes and screen resolutions, YMMV. This version has just stabilised, and has significant changes so it may be a while before it gets included in Geany.

Until then the workaround is the correct solution.

@elextr elextr closed this as completed Jul 26, 2021
@elextr elextr added the duplicate This has already been reported label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants