[Kst] [Bug 144890] New: Ability to add arbitrary Unicode characters to labels.
Duncan Hanson
duncan.hanson at gmail.com
Mon Apr 30 21:25:12 CEST 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=144890
Summary: Ability to add arbitrary Unicode characters to labels.
Product: kst
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kst kde org
ReportedBy: duncan.hanson gmail com
Version: (using KDE KDE 3.5.5)
Installed from: 00
Duncan Hanson <duncan.hanson gmail com> Sun, Apr 1, 2007 at 5:52 PM
To: kst kde org
Hi All,
Has anyone else noticed that some of the label symbols don't work at all font sizes? Many of the symbols only work for the (almost illegible) 0 size. As far as I can tell this is a problem with Qt's rendering, and not with Kst. We might want to make some workarounds for popular symbols, however. E.g. I sometimes want to use capital Delta in fonts greater than 0, but the currently used character (0x394) doesn't work. I suggest we use the difference symbol (0x2206) as a substitute, it looks fairly similar. Lowercase \mu is the same story, but I don't know of any similar symbols.
I think it would also be good to be able to specify a unicode character directly in the label text. Here's a proposed patch, which introduces a new \char{} command. E.g. \char{0x2206} or \char{8710} would display the difference symbol.
Duncan.
--------------------------------
Barth Netterfield <netterfield astro utoronto ca> Mon, Apr 2, 2007 at 6:37 AM
Reply-To: kst kde org
To: kst kde org
The bug:
I don't see this: \mu and \Delta seem to work at all sizes on my machine.
What font are you using? What QT are you using?
The Feature:
I like the idea.
We want to make sure it is done in a standard way. Does latex have such a
concept? If so, how is it done there? Is \char{} used for this anywhere
else?
cbn
--------------------------------
George Staikos <staikos kde org> Mon, Apr 2, 2007 at 7:08 AM
I think this is related to the font or font libraries, not Qt
specifically. (I haven't seen it happen here.)
Duncan Hanson <duncan.hanson gmail com> Mon, Apr 2, 2007 at 10:19 AM
----------------
Ok- I'm using Luxi Sans (my default, I think)
Qt: 3.3.7
KDE: 3.5.5-0.2.fc5 Fedora-Core
I can't get \mu or \Delta using my other fonts either, with the exception of 'fixed' (which doesn't really count.)
As for a standard unicode escape, the nearest that I can find for latex is \unichar{}, which is used by the UCS package. Another common thing is to use &#;. I think I prefer \unichar{}.
Duncan.
More information about the Kst
mailing list