You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The entry type label (vertical banner on the left of the entry editor) has bad kerning: Article is displayed as Artide and letter spacing is off for many other letter combinations as well (depending on the font-size).
This happens with the default theme and font-size on JabRef 5.15 and 6.0-alpha.1 and when building from source (main @ c6e317d) on Windows 11.
Workarounds
The text displays better (at least no cl=>d) when overriding the default font-size (9) to 10 or higher.
Similarly, in the theme Base.css for #entryEditor #typeLabel changing -fx-font-size: 1.166667em; to 1.2em also fixes this particular issue (but makes the vertical banner wider).
JavaFX does not seem to support letter-spacing, as adding -fx-letter-spacing does not work.
Another (hacky and not too pretty) workaround could be to insert hair spaces (U+200A, zero-width spaces do not work) between letters for this label: .replaceAll("(.)","$1\u200A").
Possible Cause
This seems like a bug in JavaFX as removing rotate="270" in EntryEditor.fxml fixes the kerning (and strangely, for rotate="90" the kerning is not as bad, but still off).
The text was updated successfully, but these errors were encountered:
The entry type label (vertical banner on the left of the entry editor) has bad kerning: Article is displayed as Artide and letter spacing is off for many other letter combinations as well (depending on the font-size).
This happens with the default theme and font-size on JabRef 5.15 and 6.0-alpha.1 and when building from source (main @ c6e317d) on Windows 11.
Workarounds
The text displays better (at least no
cl=>d
) when overriding the default font-size (9) to 10 or higher.Similarly, in the theme
Base.css
for#entryEditor #typeLabel
changing-fx-font-size: 1.166667em;
to1.2em
also fixes this particular issue (but makes the vertical banner wider).JavaFX does not seem to support letter-spacing, as adding
-fx-letter-spacing
does not work.Another (hacky and not too pretty) workaround could be to insert hair spaces (U+200A, zero-width spaces do not work) between letters for this label:
.replaceAll("(.)","$1\u200A")
.Possible Cause
This seems like a bug in JavaFX as removing
rotate="270"
inEntryEditor.fxml
fixes the kerning (and strangely, forrotate="90"
the kerning is not as bad, but still off).The text was updated successfully, but these errors were encountered: