moneymanagerex icon indicating copy to clipboard operation
moneymanagerex copied to clipboard

Fonts used in Transaction Reports not consistent across Linux and Windows

Open tactilis opened this issue 2 years ago • 3 comments

MMEX version:

  • [x] 1.5.20

Operating System:

  • [ ] Windows
  • [ ] Mac OSX
  • [x] Linux

Description of the bug

Based on the screenshot provided in #5066 (and reproduced below), there appear to be two different fonts used in the Transaction Report when MMEX is run on Linux.

The font used in the main body of the report renders the digit '1' smaller than the digits 0 and 2-9. This looks unattractive and makes the values harder to read.

The font used outside the main body of the report (where I have placed the check marks) renders all digits the same size.

image

On Windows, all digits used throughout report are the same size and appear to be the same font, as far as I can tell.

Questions:

  1. Why are the fonts apparently different on Linux?

  2. What determines which fonts are used?

  3. Is it possible to make the all digits throughout the Linux report the same size like on Windows?

tactilis avatar Sep 11 '22 20:09 tactilis

Seems to be a scaling issue on Linux webview. E.g. if I change the HTML scale to 200% the size looks OK. Though must be somehow CSS related also as other elements don't see affected.

I'll have to leave it to somebody working on Linux to help resolve.

whalley avatar Sep 30 '22 12:09 whalley

Are OFL (SIL Open Font License) fonts used in MMEX?

LibreOffice uses Caladea, Carlito and Liberation font families as a drop-in replacement for Microsoft fonts.

  • Caladea (Google's Caladea font, google-crosextrafonts-caladea) is a modern, friendly serif font, metric-compatible with Microsoft Fonts Cambria font.
  • Carlito (Google's Carlito font, google-crosextrafonts-carlito) is a modern, friendly sans-serif font, metric-compatible with Microsoft Fonts Calibri font.
  • Liberation Mono aims at metric compatibility with Courier New. It is sponsored by Red Hat.
  • Liberation Sans aims at metric compatibility with Arial. It is sponsored by Red Hat.
  • Liberation Sans Narrow replaces Arial Narrow. It is sponsored by Red Hat.
  • Liberation Serif aims at metric compatibility with Times New Roman. It is sponsored by Red Hat.

What do you think?

Thank you

ovari avatar Oct 21 '22 21:10 ovari

This issue is stale because it has been open 365 days with no activity. Please update if you want to keep the issue open

github-actions[bot] avatar Dec 24 '23 01:12 github-actions[bot]