[Bug 396183] New: opening kde3 fonts always overwrites ~/.fonts.conf
https://bugzilla.novell.com/show_bug.cgi?id=396183 Summary: opening kde3 fonts always overwrites ~/.fonts.conf Product: openSUSE 11.0 Version: Factory Platform: PC OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: kde-maintainers@suse.de ReportedBy: mrmazda@ij.net QAContact: qa@suse.de Found By: --- Created an attachment (id=219355) --> (https://bugzilla.novell.com/attachment.cgi?id=219355) custom ~/.xorg.conf To reproduce: 1-build a valid .fonts.conf manually 2-start KDE3 3-open kcontrol or kcmshell fonts 3a-if kcontrol, select fonts 4-note settings in effect 5-close fonts Actual behavior: 1-~/.fonts.conf is overwritten Expected behavior: 2-~/.fonts.conf is unchanged -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c1 --- Comment #1 from Felix Miata <mrmazda@ij.net> 2008-05-31 20:02:41 MDT --- Created an attachment (id=219356) --> (https://bugzilla.novell.com/attachment.cgi?id=219356) ~/.fonts.conf written by KDE3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c2 --- Comment #2 from Felix Miata <mrmazda@ij.net> 2008-05-31 20:34:55 MDT --- Created an attachment (id=219357) --> (https://bugzilla.novell.com/attachment.cgi?id=219357) screenshots - fonts the way I want them, using attachment 219355 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c3 --- Comment #3 from Felix Miata <mrmazda@ij.net> 2008-05-31 20:35:14 MDT --- Created an attachment (id=219358) --> (https://bugzilla.novell.com/attachment.cgi?id=219358) screenshots - fonts the way KDE3 wants them, using attachment 219356 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c4 --- Comment #4 from Felix Miata <mrmazda@ij.net> 2008-05-31 20:53:26 MDT --- Created an attachment (id=219359) --> (https://bugzilla.novell.com/attachment.cgi?id=219359) alternative ~/.fonts.conf producing desired results that KDE3 does not overwrite Note that because hinting is set false, the subsequent hintstyle section serves no purpose other than to cause KDE3 to leave it alone. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mrmazda@ij.net added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c5 --- Comment #5 from Felix Miata <mrmazda@ij.net> 2008-06-01 19:56:47 MDT --- KDE4 behavior in Mandriva Cooker seems to have essentially the same problem. I deleted ~/.fonts.conf there, opened kcmshell4 fonts, and it wrote a ~/.fonts.conf file containing rgba none, hinting true, hintstyle hintmedium & antialias true. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=396183 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=396183#c6 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #6 from Mike Fabian <mfabian@novell.com> 2008-06-03 04:31:32 MDT --- It is OK that KDE3 and KDE4 write to ~/.fonts.conf. They should not overwrite any settings you wrote manually to ~/.fonts.conf though. They should read in any ~/.fonts.conf which already exists and write back all settings which were not changed in the KDE control centre as they were before. I think there are some cases where this doesn’t work correctly, but not in the simple case of your bug report, this simple case works correctly both for KDE3 and KDE4. You can verify that by editing for example <match target="font" > <edit mode="assign" name="hintstyle" > <const>hintmedium</const> </edit> </match> to different values ("hintnone", "hintslight", "hintmedium", "hintfull") manually with an editor and then then start "kcmshell fonts". You see that your manually edited value is read in and displayed in "kcmshell fonts". This works for the other values in your attached .fonts.conf as well. KDE reads in the values from ~/.fonts.conf and therefore doesn’t overwrite any of your settings. In case of variables which cannot (yet) be set in KDE3 or KDE4 for example autohint=true/false, these rules are read in by KDE3 and KDE4 and written out again unchanged, i.e. they are not destroyed either, the value you edited manually is preserved. I just tested again that this works with KDE3 and KDE4. I think the only cases where it doesn’t yet work correctly are fairly complicated rules in ~/.fonts.conf where the order is important and and KDE doesn’t write back the correct order as it was intended by the manual edit. In your attached .fonts.conf, the order of the rules doesn’t matter at all. → INVALID. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com