On Thursday 27 December 2007 22:12:59 Michael Ummels wrote: > I have written a Python script that sets up font substitution in QT3 to > work as with fontconfig. The idea is to check for each font that exists > on the system which fonts can be substituted for it using the fc-match > command. A corresponding substitution entry is then written to the > user's qtrc file. If you provide the --system option, the substitutions > are written to the global qtrc file. Be warned however: The script will > replace any existing font substitution in the qtrc file (e.g. ones > written by qtconfig). To keep the old substitutions copy all entries in > the [Font Substitution] section of the old qtrc file into the new one. A > backup of the old qtrc file is saved under the name qtrc.old in the same > directory where the qtrc file is located (i.e. $HOME/.qt or /etc/qt3 if > you use the --system option).
Well, I have given up the idea of substitution. I am using Qt3-QtConfig, font substitution engine. After all, thanks a lot for your code!!! -- QT program doesn't select Chinese font correctly https://bugs.launchpad.net/bugs/94282 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
