![]() |
Why is the font different on Install & Remove Additional Software? - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: General (https://www.linuxliteos.com/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.linuxliteos.com/forums/forumdisplay.php?fid=14) +--- Thread: Why is the font different on Install & Remove Additional Software? (/showthread.php?tid=852) |
Why is the font different on Install & Remove Additional Software? - mpig - 09-17-2014 I just realized there's two kind of fonts active. How can i fix this? ![]() Re: Why is the font different on Install & Remove Additional Software? - Scott(0) - 09-17-2014 Hi Mpig, Have you run an update (menu > all > install updates) recently? A new version of the install-additional-software script (aka light-software) was released today, 9-17-14. Maybe this will fix the font issue. ~Scott Re: Why is the font different on Install & Remove Additional Software? - mpig - 09-17-2014 Yup, i have run an update. I know because there's Chromium on both, install & remove additional software. Re: Why is the font different on Install & Remove Additional Software? - Valtam - 09-17-2014 I see in the screenshot you have both Install & Remove Additional Software open at the same time, if you have just one open, does the font stay consistent? Also, try a restart and see if it is still happening. Re: Why is the font different on Install & Remove Additional Software? - Scott(0) - 09-17-2014 Notice the height value in each script. In lite-remover height=700, in lite-software height=730. I wonder if the added height is causing the font to change? This is only a guess, I haven't tested anything. /usr/scripts/lite-remover selection=$(zenity --window-icon="$ic" --list --radiolist --width=880 --height=700 --column="Select" --column="Name" --column="Category" \ /usr/scripts/lite-software selection=$(zenity --window-icon="$ic" --list --checklist --width=880 --height=730 --column="Select" --column="Name" --column="Category" \ Here are the dates on the scripts on my laptop for comparison: scott@laptop:~$ head /usr/scripts/lite-software | grep Date # Date: September 17th, 2014 scott@laptop:~$ head /usr/scripts/lite-remover | grep Date # Date: Aug 27th, 2014 Re: Why is the font different on Install & Remove Additional Software? - Scott(0) - 09-17-2014 I think it has to do with how the scripts are executed. Install Additional Software gksudo sh /usr/scripts/lite-software Remove Additional Software sh /usr/scripts/lite-remover On my system these two commands produce different fonts: leafpad test gksudo leafpad test Re: Why is the font different on Install & Remove Additional Software? - anon222 - 09-17-2014 (09-17-2014, 01:37 PM)Scott(0) link Wrote: I think it has to do with how the scripts are executed.That might be it. See if rebulding font information cache files makes any difference. Code: sudo fc-cache -f -v Re: Why is the font different on Install & Remove Additional Software? - mpig - 09-17-2014 (09-17-2014, 12:50 PM)Valtam link Wrote: I see in the screenshot you have both Install & Remove Additional Software open at the same time, if you have just one open, does the font stay consistent? Also, try a restart and see if it is still happening. Just one open and restart too, the font stay consistent like that. (09-17-2014, 01:06 PM)Scott(0) link Wrote: Notice the height value in each script. In lite-remover height=700, in lite-software height=730. I wonder if the added height is causing the font to change? This is only a guess, I haven't tested anything. Same like yours: audi@audi-Aspire-3680:~$ head /usr/scripts/lite-software | grep Date # Date: September 17th, 2014 audi@audi-Aspire-3680:~$ head /usr/scripts/lite-remover | grep Date # Date: Aug 27th, 2014 (09-17-2014, 01:37 PM)Scott(0) link Wrote: I think it has to do with how the scripts are executed. YES! Finally. This is the cause. ![]() And now, how i fix this problem? Any Suggestion? (09-17-2014, 02:05 PM)misko_2083 link Wrote: [quote author=Scott(0) link=topic=883.msg5085#msg5085 date=1410961056]That might be it. See if rebulding font information cache files makes any difference. Code: sudo fc-cache -f -v No effect. :'( |