[kmymoney] [Bug 432734] Linux Report CSS has wrong fonts and doesn't make totals bold

Dawid Wróbel bugzilla_noreply at kde.org
Wed Jun 30 01:36:31 BST 2021


https://bugs.kde.org/show_bug.cgi?id=432734

Dawid Wróbel <me at dawidwrobel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WAITINGFORINFO
             Status|REPORTED                    |NEEDSINFO
                 CC|                            |me at dawidwrobel.com

--- Comment #1 from Dawid Wróbel <me at dawidwrobel.com> ---
Mark,

> The CSS supplied with Linux distros references Windows fonts
> Linux fonts should be specified for Linux versions of the program

That's not how our CSS file works and how any CSS should work. The fonts
referenced are part of "font-family" property, as opposed to "font", which
means they are a *hint* for which font should be chosen ("A prioritized list of
font family names and/or generic family names"). While you see references to
Verdana and Arial and Helvetica, the "sans-serif" is a generic name for a font
family that the operating system/browser should choose to substitute them,
should those exact fonts not be available.

See here: https://www.w3schools.com/CSSref/pr_font_font-family.asp and also
here https://www.w3schools.com/cssref/css_websafe_fonts.asp


In other words, none of those Windows fonts are causing the issues you're
seeing. The problem is likely a matter of the font you have configured in your
system as a default provider for "sans-serif". 

In any case, please attach a screenshot of what seems to be the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list