Bug 418832

Summary: Tiny fonts on Kmymoney 5.0.0 Home page & Reports
Product: [Applications] kmymoney Reporter: deanmalbert
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: KDE, yurchor
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-18242-0.html
Screenshot.jpg
Fonts in KmMoney.ott
attachment-16268-0.html

Description deanmalbert 2020-03-13 20:53:30 UTC
SUMMARY
When I open the Home page of Kmymoney 5.0.0 The font of Asset Accounts and everything else is extremely small.  I can barely read it. This also occurs on any reports I run.  Tiny fonts. Fonts everywhere else are adjustable.  

STEPS TO REPRODUCE
1. Get Kmymoney 5.0.0
2. Click on home page.
3. Click on a report

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2020-03-14 05:14:28 UTC
Try using Ctrl+Mouse Wheel to change the font size. Also, check the settings for the Home page in Settings/Home/Summary page scaling. Changing the zoom factor also changes the font size. Does that solve the issue?
Comment 2 deanmalbert 2020-03-14 13:04:38 UTC
Thomas,

I tried the Setting/Home/Summary page scaling.  It did not affect the 
reports or assets and liabilities summary.  Ctrl+Mouse Wheel worked.  
The only fonts I can't seem to change now are in the KmyMoney views.  
When you click on Institutions, Accounts Scheduled etc, none of the 
sub-folder fonts can be changed.  Is there anything I can do for them?

If not, It is a lot better than it was.

Thanks,

Dean Albert

On 3/14/20 1:14 AM, Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> Thomas Baumgart <tbaumgart@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>           Resolution|---                         |WAITINGFORINFO
>               Status|REPORTED                    |NEEDSINFO
>
> --- Comment #1 from Thomas Baumgart <tbaumgart@kde.org> ---
> Try using Ctrl+Mouse Wheel to change the font size. Also, check the settings
> for the Home page in Settings/Home/Summary page scaling. Changing the zoom
> factor also changes the font size. Does that solve the issue?
>
Comment 3 Thomas Baumgart 2020-03-14 14:21:27 UTC
Those fonts are controlled through the KDE desktop settings
Comment 4 deanmalbert 2020-03-14 15:24:48 UTC
Thomas,

It looks like I will have to live with this.  I am running Linux Mint 
19.0 with Mate desktop.  Apparently, I can't run KDE desktop with it 
without causing issues.

On 3/14/20 10:21 AM, Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #3 from Thomas Baumgart <tbaumgart@kde.org> ---
> Those fonts are controlled through the KDE desktop settings
>
Comment 5 Yuri Chornoivan 2020-03-14 15:37:26 UTC
(In reply to deanmalbert from comment #4)
> Thomas,
> 
> It looks like I will have to live with this.  I am running Linux Mint 
> 19.0 with Mate desktop.  Apparently, I can't run KDE desktop with it 
> without causing issues.

Plasma settings are stored in a simple text file. Just try to edit ~/.config/kdeglobals (backup the file before editing). There is a "font=" record in it. It is easy to understand the scheme of this record.
Comment 6 deanmalbert 2020-03-14 15:51:44 UTC
Yuri,

I am not that proficient  in Linux.  Unless I can use file manager to 
find this, I don't think I can do it.  I tried installing KDE Plasma 
Desktop with Synaptic Pkg Mgr, but it did not show up under desktop 
settings.


On 3/14/20 11:37 AM, Yuri Chornoivan wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> Yuri Chornoivan <yurchor@ukr.net> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |yurchor@ukr.net
>
> --- Comment #5 from Yuri Chornoivan <yurchor@ukr.net> ---
> (In reply to deanmalbert from comment #4)
>> Thomas,
>>
>> It looks like I will have to live with this.  I am running Linux Mint
>> 19.0 with Mate desktop.  Apparently, I can't run KDE desktop with it
>> without causing issues.
> Plasma settings are stored in a simple text file. Just try to edit
> ~/.config/kdeglobals (backup the file before editing). There is a "font="
> record in it. It is easy to understand the scheme of this record.
>
Comment 7 Jack 2020-03-14 16:03:46 UTC
You can't run the plasma desktop if you are running the mate desktop.  However, you can still adjust plasma related settings.  If you use ane file manager to find the file Yuri mentioned, you can open it in any file editor.  Start in your home directory, then look in the .config folder.  Choose the kdeglobals file there, and edit it.  

However, I just looked in my own version, and do not see any line with font= in it, which likely means I never changed the default font.  I do see that line on a different computer, but the format is not actually obvious.  Try running systemsettings5 and select "Fonts" under the "Appearance" section.
Comment 8 Yuri Chornoivan 2020-03-14 16:06:01 UTC
(In reply to deanmalbert from comment #6)
> Yuri,
> 
> I am not that proficient  in Linux.  Unless I can use file manager to 
> find this, I don't think I can do it.  I tried installing KDE Plasma 
> Desktop with Synaptic Pkg Mgr, but it did not show up under desktop 
> settings.

Actually, no special knowledge needed. Just start any text editor (pluma, I guess, or gedit), click "Open" and paste ~/.config/kdeglobals into the address bar. Or press Ctrl+O, right-click on the file panel, choose "Show hidden files", choose ".config" folder, then choose "kdeglobals".

Find the "font=" line (Ctrl+F, input "font="). It looks like

font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed

Try to change the font size ("10") then restart KMyMoney.

Hope this helps.
Comment 9 deanmalbert 2020-03-14 17:31:38 UTC
Created attachment 126785 [details]
attachment-18242-0.html

Yuri,

I finally found kdegobals,  but there is nothing about Font= in the file

Here is what I got:

[$Version]
update_info=kdeui.upd:kde4/migrate_from_kde3_icon_theme,kded.upd:kde3.0

On 3/14/20 12:06 PM, Yuri Chornoivan wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #8 from Yuri Chornoivan <yurchor@ukr.net> ---
> (In reply to deanmalbert from comment #6)
>> Yuri,
>>
>> I am not that proficient  in Linux.  Unless I can use file manager to
>> find this, I don't think I can do it.  I tried installing KDE Plasma
>> Desktop with Synaptic Pkg Mgr, but it did not show up under desktop
>> settings.
> Actually, no special knowledge needed. Just start any text editor (pluma, I
> guess, or gedit), click "Open" and paste ~/.config/kdeglobals into the address
> bar. Or press Ctrl+O, right-click on the file panel, choose "Show hidden
> files", choose ".config" folder, then choose "kdeglobals".
>
> Find the "font=" line (Ctrl+F, input "font="). It looks like
>
> font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>
> Try to change the font size ("10") then restart KMyMoney.
>
> Hope this helps.
>
Comment 10 Yuri Chornoivan 2020-03-14 17:38:42 UTC
(In reply to deanmalbert from comment #9)
> Created attachment 126785 [details]
> attachment-18242-0.html
> 
> Yuri,
> 
> I finally found kdegobals,  but there is nothing about Font= in the file
> 
> Here is what I got:
> 
> [$Version]
> update_info=kdeui.upd:kde4/migrate_from_kde3_icon_theme,kded.upd:kde3.0

Please try to add the following lines at the end of this file:

[General]
font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed

Click on the system menu - Appearance - Fonts tab. Replace "DejaVu Sans" in the lines above with "Noto Sans Regular" or whatever your default font is. Save the file. Restart KMM.
Comment 11 deanmalbert 2020-03-14 18:08:52 UTC
I did what you said.  Still doesn't change anything.

On 3/14/20 1:38 PM, Yuri Chornoivan wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #10 from Yuri Chornoivan <yurchor@ukr.net> ---
> (In reply to deanmalbert from comment #9)
>> Created attachment 126785 [details]
>> attachment-18242-0.html
>>
>> Yuri,
>>
>> I finally found kdegobals,  but there is nothing about Font= in the file
>>
>> Here is what I got:
>>
>> [$Version]
>> update_info=kdeui.upd:kde4/migrate_from_kde3_icon_theme,kded.upd:kde3.0
> Please try to add the following lines at the end of this file:
>
> [General]
> font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>
> Click on the system menu - Appearance - Fonts tab. Replace "DejaVu Sans" in the
> lines above with "Noto Sans Regular" or whatever your default font is. Save the
> file. Restart KMM.
>
Comment 12 Brendan 2020-03-14 18:09:40 UTC
I think Jack had the best option, especially if you are not
comfortable with Linux yet.

Open any terminal/console and run the command:

systemsettings5

This will bring up a GUI you can use the change your fonts and many
other KDE/Plasma settings.

I'm running LXDE not KDE Plasma and this is how I change KDE settings.
I can also run it from my menus under "Preferences" and then "KDE
System Settings".

----
Brendan Coupe


----
Brendan Coupe


On Sat, Mar 14, 2020 at 11:38 AM Yuri Chornoivan
<bugzilla_noreply@kde.org> wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #10 from Yuri Chornoivan <yurchor@ukr.net> ---
> (In reply to deanmalbert from comment #9)
> > Created attachment 126785 [details]
> > attachment-18242-0.html
> >
> > Yuri,
> >
> > I finally found kdegobals,  but there is nothing about Font= in the file
> >
> > Here is what I got:
> >
> > [$Version]
> > update_info=kdeui.upd:kde4/migrate_from_kde3_icon_theme,kded.upd:kde3.0
>
> Please try to add the following lines at the end of this file:
>
> [General]
> font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
> toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>
> Click on the system menu - Appearance - Fonts tab. Replace "DejaVu Sans" in the
> lines above with "Noto Sans Regular" or whatever your default font is. Save the
> file. Restart KMM.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 13 deanmalbert 2020-03-14 18:29:18 UTC
Still does not work.  Got the menu and changed the fonts, but doesn't 
affect KmMomey.

On 3/14/20 2:09 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #12 from Brendan@CoupeWare.com ---
> I think Jack had the best option, especially if you are not
> comfortable with Linux yet.
>
> Open any terminal/console and run the command:
>
> systemsettings5
>
> This will bring up a GUI you can use the change your fonts and many
> other KDE/Plasma settings.
>
> I'm running LXDE not KDE Plasma and this is how I change KDE settings.
> I can also run it from my menus under "Preferences" and then "KDE
> System Settings".
>
> ----
> Brendan Coupe
>
>
> ----
> Brendan Coupe
>
>
> On Sat, Mar 14, 2020 at 11:38 AM Yuri Chornoivan
> <bugzilla_noreply@kde.org> wrote:
>> https://bugs.kde.org/show_bug.cgi?id=418832
>>
>> --- Comment #10 from Yuri Chornoivan <yurchor@ukr.net> ---
>> (In reply to deanmalbert from comment #9)
>>> Created attachment 126785 [details]
>>> attachment-18242-0.html
>>>
>>> Yuri,
>>>
>>> I finally found kdegobals,  but there is nothing about Font= in the file
>>>
>>> Here is what I got:
>>>
>>> [$Version]
>>> update_info=kdeui.upd:kde4/migrate_from_kde3_icon_theme,kded.upd:kde3.0
>> Please try to add the following lines at the end of this file:
>>
>> [General]
>> font=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>> menuFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>> smallestReadableFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>> toolBarFont=DejaVu Sans,10,-1,5,50,0,0,0,0,0,Condensed
>>
>> Click on the system menu - Appearance - Fonts tab. Replace "DejaVu Sans" in the
>> lines above with "Noto Sans Regular" or whatever your default font is. Save the
>> file. Restart KMM.
>>
>> --
>> You are receiving this mail because:
>> You are the assignee for the bug.
Comment 14 Brendan 2020-03-14 18:38:50 UTC
In the KMM menus click on:

Settings
Configure KMyMoney...

The click on "Home" on the left side of the window.

What is your "Zoom Factor" set to?

Did you check the box that says "Remember zoom factor..."
Comment 15 deanmalbert 2020-03-14 18:48:31 UTC
It is set to 1.20 and on remember.  The only fonts I can not increase in 
size are under Institutions, Accounts, Scheduled Transactions, etc.  The 
zoom Factor works everywhere else.

On 3/14/20 2:38 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> Brendan@CoupeWare.com changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |Brendan@CoupeWare.com
>
> --- Comment #14 from Brendan@CoupeWare.com ---
> In the KMM menus click on:
>
> Settings
> Configure KMyMoney...
>
> The click on "Home" on the left side of the window.
>
> What is your "Zoom Factor" set to?
>
> Did you check the box that says "Remember zoom factor..."
>
Comment 16 Brendan 2020-03-14 18:58:32 UTC
I have been playing around with fonts to see how they work. I am not running KDE/Plasma, I'm running LXDE.

I changed all of my KDE fonts to a script font and nothing changed in KMM. When I change the KMM font setting from my custom fonts to the system fonts they changed but they were not the script font that I selected in KDE.

Then I tried changing my LXDE system fonts by running "Customize Look and Feel". With KMM still set to use system fonts the KMM fonts all changed to the script font that I set in LXDE but the Home Page did not change no matter what I did. Please note that I had returned the KDE settings to the normal font and I had to restart KMM to get the LXDE system fonts to work.

None of my changes had any affect on the home page font and it appears that KMM does not use the KDE system fonts when you are not running KDE/Plasma.

Where does KMM get the font for the home page?
Comment 17 deanmalbert 2020-03-14 19:45:09 UTC
The home page font size is controlled by Ctrl key and the mouse wheel. 
Has nothing to do with KDE.

On 3/14/20 2:58 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #16 from Brendan@CoupeWare.com ---
> I have been playing around with fonts to see how they work. I am not running
> KDE/Plasma, I'm running LXDE.
>
> I changed all of my KDE fonts to a script font and nothing changed in KMM. When
> I change the KMM font setting from my custom fonts to the system fonts they
> changed but they were not the script font that I selected in KDE.
>
> Then I tried changing my LXDE system fonts by running "Customize Look and
> Feel". With KMM still set to use system fonts the KMM fonts all changed to the
> script font that I set in LXDE but the Home Page did not change no matter what
> I did. Please note that I had returned the KDE settings to the normal font and
> I had to restart KMM to get the LXDE system fonts to work.
>
> None of my changes had any affect on the home page font and it appears that KMM
> does not use the KDE system fonts when you are not running KDE/Plasma.
>
> Where does KMM get the font for the home page?
>
Comment 18 Brendan 2020-03-14 21:53:13 UTC
I understand how the font size on the home page is changed. I did not mention anything about the font size in my last post. I said KDE settings had no affect on any of the fonts probably because I am not running KDE. Jack and or Thomas  suggested changing the KDE font setting but on my system that has no affect since I'm not running KDE. The original poster is not running KDE so I thought my testing might be helpful which is why I did it.

My testing had nothing to do with font size, I was changing the font family and font style.

Nothing I changed had any affect on font family or style on the home page. LXDE font settings change most of the fonts in KMM if you select "use system settings". Apparently I did not explain that well enough the first time.

While most of the fonts in KMM can be adjusted with either system fonts or custom fonts neither of these have any affect on the home page or the entries in the ledger.

So I will ask again, what font family and style does KMM use for the home page?

There is also some weird behavior that happens with some of the KMM fonts when you switch between system fonts in KMM and custom fonts. Sometimes some of the fonts (menus and tabs) change as expect and sometimes they don't. I gave up trying to figure out the sequence that causes each behavior since my fonts are fine in KMM. I still wonder what font is being used on the home page since nothing I have tried had changed it's family or style.
Comment 19 Thomas Baumgart 2020-03-15 10:53:41 UTC
> I still wonder what font is being used on the home page
> since nothing I have tried had changed it's family or style.
Look for a file named kmymoney.css which is used to control various aspects of the "home page" view. It is usually installed in /usr/share/kmymoney/html/ but that may differ on your system. I am not sure if you can override it with a user specific version, but you can certainly tweak it there. Keep a copy of the original version in case something goes weird and you want to go back :)
Comment 20 deanmalbert 2020-03-15 12:54:06 UTC
Created attachment 126803 [details]
Screenshot.jpg

Thomas,

The only place I found a font listed is on the attached. Nolo Sans Mono 12.

The fonts on reports and the other catagories may not be this and as you 
can see they are smaller.

On 3/15/20 6:53 AM, Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #19 from Thomas Baumgart <tbaumgart@kde.org> ---
>> I still wonder what font is being used on the home page
>> since nothing I have tried had changed it's family or style.
> Look for a file named kmymoney.css which is used to control various aspects of
> the "home page" view. It is usually installed in /usr/share/kmymoney/html/ but
> that may differ on your system. I am not sure if you can override it with a
> user specific version, but you can certainly tweak it there. Keep a copy of the
> original version in case something goes weird and you want to go back :)
>
Comment 21 deanmalbert 2020-03-15 13:07:21 UTC
Created attachment 126805 [details]
Fonts in KmMoney.ott

Thomas,

Attached is what is in kmymoney.css

I have no clue what font-size: 1.2em means, but I can edit fonts in the 
folder.

On 3/15/20 6:53 AM, Thomas Baumgart wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #19 from Thomas Baumgart <tbaumgart@kde.org> ---
>> I still wonder what font is being used on the home page
>> since nothing I have tried had changed it's family or style.
> Look for a file named kmymoney.css which is used to control various aspects of
> the "home page" view. It is usually installed in /usr/share/kmymoney/html/ but
> that may differ on your system. I am not sure if you can override it with a
> user specific version, but you can certainly tweak it there. Keep a copy of the
> original version in case something goes weird and you want to go back :)
>
Comment 22 Brendan 2020-03-15 16:53:49 UTC
https://kyleschaeffer.com/css-font-size-em-vs-px-vs-pt-vs-percent

I was able to change the font style of the home page by commenting out the font family line and adding a new font family line with a different font per the lines below. You can also add font names prior to the existing list with commas between the names.

There is no reference to font size in the media screen section and I was not able to change the font size of the home screen by changing any of the many font sizes that are in the rest of this file. I suspect the font size is hard coded. The Zoom Factor is saved in ~/.config/kmymoney/kmymoneyrc if it's set to anything but 1.00 so that appears to be the only way to change the font size.

I would try changing the font-family in the media screen section and see if that helps. Maybe you don't have one of the referenced fonts installed and the substitute font is causing the problem. That or try to install the verdana font.

=====================================
/usr/share/kmymoney/html/kmymoney.css

@media screen {

  A.el { text-decoration: none; }
  A.elRef { font-weight: bold }
  A.code { text-decoration: none; font-weight: normal; color: #4C59A6 }
  A.codeRef { font-weight: normal; color: #4C59A6 }
  A:hover { text-decoration: none; font-weight: normal; color: #4C59A6 }

  body {
    background-color: Window;
    color:WindowText;
    /* font-family: verdana, arial, sans-serif; */
    font-family: script12 bt;
  }
=====================================
Comment 23 deanmalbert 2020-03-15 18:37:12 UTC
I changed the media screen to the below.  Did not work.


On 3/15/20 12:53 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #22 from Brendan@CoupeWare.com ---
> https://kyleschaeffer.com/css-font-size-em-vs-px-vs-pt-vs-percent
>
> I was able to change the font style of the home page by commenting out the font
> family line and adding a new font family line with a different font per the
> lines below. You can also add font names prior to the existing list with commas
> between the names.
>
> There is no reference to font size in the media screen section and I was not
> able to change the font size of the home screen by changing any of the many
> font sizes that are in the rest of this file. I suspect the font size is hard
> coded. The Zoom Factor is saved in ~/.config/kmymoney/kmymoneyrc if it's set to
> anything but 1.00 so that appears to be the only way to change the font size.
>
> I would try changing the font-family in the media screen section and see if
> that helps. Maybe you don't have one of the referenced fonts installed and the
> substitute font is causing the problem. That or try to install the verdana
> font.
>
> =====================================
> /usr/share/kmymoney/html/kmymoney.css
>
> @media screen {
>
>    A.el { text-decoration: none; }
>    A.elRef { font-weight: bold }
>    A.code { text-decoration: none; font-weight: normal; color: #4C59A6 }
>    A.codeRef { font-weight: normal; color: #4C59A6 }
>    A:hover { text-decoration: none; font-weight: normal; color: #4C59A6 }
>
>    body {
>      background-color: Window;
>      color:WindowText;
>      /* font-family: verdana, arial, sans-serif; */
>      font-family: script12 bt;
>    }
> =====================================
>
Comment 24 Brendan 2020-03-15 18:51:27 UTC
Is that font (btscript12 bt) installed on your system? If not pick a font that is installed on your system.

I'm running Fedora 31 so my fonts may be different from yours.
Comment 25 Jack 2020-03-15 18:52:31 UTC
Just a wild thought, but are you sure the fonts you are trying to use are actually installed?

Does anyone know the fallback behavior of what gets used if all named fonts are not available?
Comment 26 Brendan 2020-03-15 19:18:20 UTC
I just changed all of the fonts in kmymoney.css to:

font-family:  xxverdana, xxarial, xxsans-serif;

It picked something different than verdana, not sure what.
Comment 27 deanmalbert 2020-03-15 20:08:51 UTC
Ubuntu-R.ttf did not change anything.

On 3/15/20 2:52 PM, Jack wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #25 from Jack <ostroffjh@users.sourceforge.net> ---
> Just a wild thought, but are you sure the fonts you are trying to use are
> actually installed?
>
> Does anyone know the fallback behavior of what gets used if all named fonts are
> not available?
>
Comment 28 deanmalbert 2020-03-15 20:34:20 UTC
Created attachment 126822 [details]
attachment-16268-0.html

Jack,

Currently:

=====================================
/usr/share/kmymoney/html/kmymoney.css

@media screen {

   A.el { text-decoration: none; }
   A.elRef { font-weight: bold }
   A.code { text-decoration: none; font-weight: normal; color: #4C59A6 }
   A.codeRef { font-weight: normal; color: #4C59A6 }
   A:hover { text-decoration: none; font-weight: normal; color: #4C59A6 }

   body {
     background-color: Window;
     color:WindowText;
     /* font-family: verdana, arial, sans-serif; */
     font-family: script12 bt;
   }

Just changed it to:

=====================================
/usr/share/kmymoney/html/kmymoney.css

@media screen {

   A.el { text-decoration: none; }
   A.elRef { font-weight: bold }
   A.code { text-decoration: none; font-weight: normal; color: #4C59A6 }
   A.codeRef { font-weight: normal; color: #4C59A6 }
   A:hover { text-decoration: none; font-weight: normal; color: #4C59A6 }

   body {
     background-color: Window;
     color:WindowText;
     /* font-family: verdana, arial, sans-serif; */
   font-family: Ubuntu-R.ttp;
   }

Ubuntu fonts are on my system.  Not sure which however.

Dean

On 3/15/20 2:52 PM, Jack wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #25 from Jack <ostroffjh@users.sourceforge.net> ---
> Just a wild thought, but are you sure the fonts you are trying to use are
> actually installed?
>
> Does anyone know the fallback behavior of what gets used if all named fonts are
> not available?
>
Comment 29 Brendan 2020-03-15 20:47:07 UTC
I would try dropping the file extension (Ubuntu-R instead of Ubuntu-R.ttp)
Comment 30 Brendan 2020-03-15 20:54:56 UTC
In KMM go to Settings, Configure KMyMoney, Fonts. Select a custom Cell font and/or Header font (if you haven't already).

Edit the file:

~/.config/kmymoney/kmymoneyrc

Look for the following 2 lines:

listCellFont=DejaVu Sans Mono,12,-1,5,50,0,0,0,0,0
listHeaderFont=DejaVu Sans Mono,13,-1,5,50,0,0,0,0,0

Copy the name after the "=" up to the first comma into the font-family setting in /usr/share/kmymoney/html/kmymoney.css. In my case that would be

DejaVu Sans Mono
Comment 31 deanmalbert 2020-03-15 21:40:51 UTC
I don't have kmymoneyrc or listCellFont lines.

On 3/15/20 4:54 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #30 from Brendan@CoupeWare.com ---
> In KMM go to Settings, Configure KMyMoney, Fonts. Select a custom Cell font
> and/or Header font (if you haven't already).
>
> Edit the file:
>
> ~/.config/kmymoney/kmymoneyrc
>
> Look for the following 2 lines:
>
> listCellFont=DejaVu Sans Mono,12,-1,5,50,0,0,0,0,0
> listHeaderFont=DejaVu Sans Mono,13,-1,5,50,0,0,0,0,0
>
> Copy the name after the "=" up to the first comma into the font-family setting
> in /usr/share/kmymoney/html/kmymoney.css. In my case that would be
>
> DejaVu Sans Mono
>
Comment 32 deanmalbert 2020-03-15 21:51:20 UTC
Doesn't work.  I think I will just live with it.


Thanks to all.

On 3/15/20 4:47 PM, bugzilla_noreply@kde.org wrote:
> https://bugs.kde.org/show_bug.cgi?id=418832
>
> --- Comment #29 from Brendan@CoupeWare.com ---
> I would try dropping the file extension (Ubuntu-R instead of Ubuntu-R.ttp)
>
Comment 33 Bug Janitor Service 2020-03-30 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 34 deanmalbert 2020-04-03 14:16:49 UTC
I have no information to give you. All of the solutions you came up with did not work, except for using the mouse wheel +Ctrl.
Comment 35 Bug Janitor Service 2020-04-18 04:33:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 36 Thomas Baumgart 2020-04-18 07:26:37 UTC
The problem is still persistent and needs to be fixed. So I switch the status to reported.