View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006023 | ardour | bugs | public | 2014-11-07 13:11 | 2020-04-19 20:16 |
Reporter | colinf | Assigned To | colinf | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Summary | 0006023: UTF combining character sequences in group tabs & routing matrix are garbled | ||||
Description | UTF combining character sequences in group names don't display correctly in either the editor or mixer group tabs; likewise track names in the routing matrix. | ||||
Additional Information | See attached screenshot for an example. | ||||
Tags | No tags attached. | ||||
2014-11-07 13:11
|
|
|
Same thing in the connections Manager window, too. |
2014-11-07 13:20
|
|
|
This seems to be a limitation of cairo_show_text(), which appears not to handle Unicode combining characters well. I guess the places where it's called with anything that might contain non-7-bit ASCII characters ought really to be using Pango::Layout::set_text(). |
|
cairo_show_text() does handle UTF-8; Two examples: PluginEqGui::draw_scales_phase() uses \u00b0 (degree sign), panners use translatable L/R (those display correctly in Russian locale). Still, it's probably an encoding issue of a different nature which Pango::Layout may solve. |
|
mmh. I cannot reproduce this. Umlauts display just fine here in Group Tabs and in the Connection Manager. (nightly build -- cairo-1.14.0, pango-1.36.8) |
2015-09-27 16:00
|
|
|
attached screenshot is with Ardour 4.2-421-gcf761d4 (Sept/27) |
|
works with "Façade" as well. Did you mean mean 4.X git (not 3.X git)? Which version of Ardour did you test? Can you try to reproduce with a nightly build (incl. pango, cairo,...)? |
|
This is still reproducible for me with current git HEAD, with cairo 1.12.2-3 from Debian oldstable. I'll try to grab a nightly when I have some better bandwidth, to see if it's a bug/feature/limitation of the older cairo version. If that's the case, I guess this'll be a "won't fix", which is fine by me: it's not exactly a show-stopping bug. Not all non-ASCII UTF-8 characters are affected: my hunch is that it's combining characters that don't work well, so it might depend on how they've been entered. I was going to paste an actual track name that I've seen this with into this report, but I've just discovered that right-clicking in the track name entry while it's active segfaults. I'll make another bug report about that in a moment... |
|
I can reproduce with nightly 4.2.428. With a track named '¢µ?c', the '?' character appears as a little box in the connection matrix. |
|
Oh, and that '?' was supposed to be a c-circumflex, which I entered into Ardour's 'New Track' dialogue via <Alt Gr>+''' and then 'c', and then copy-&-pasted from the 'Rename Track' dialogue to here. I wonder what'll happen if I try to type one like that here directly: '?'... [EDIT: comes out as a ?, hmm...] I also just tried to upload a screenshot with the same string copy-&-pasted into the name and got an error from Mantis about "Illegal mix of collations", though, so maybe something's gone askew in the entry of the name rather than just the rendering of it in the port matrix. |
2015-09-28 11:37
|
|
|
mmh. I just copy pasted the "¢µ?c" from here. Shows as "¢µ?c" in Ardour, but that may be filtered by mantis (this website is also UTF8) or maybe it's simply due to a the font that's used by cairo on your system. (in which case using Pango may help) Do you see the degree sign (Generic Plugin GUI -> Plugin analysis -> Phase)? Also when you open a plugin-window for the track.. does the window-title-bar show the track-name correctly? |
2015-09-28 12:54
|
|
|
Yes, I see the degree sign in the plugin analysis, but that's not a combining character, so I'd expect it to work anyway. Window caption text is correct in all cases: it's only combining character sequences shown via cairo_show_text() that are wrong. |
|
After upgrading to debian testing, I can no longer reproduce this: I guess it's been fixed in cairo now (libcairo2 1.14.6-1 installed here). |
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-11-07 13:11 | colinf | New Issue | |
2014-11-07 13:11 | colinf | File Added: cedilla.png | |
2014-11-07 13:19 | colinf | Note Added: 0015956 | |
2014-11-07 13:20 | colinf | File Added: connections.png | |
2015-09-25 10:27 | colinf | Note Added: 0017347 | |
2015-09-27 15:53 | x42 | Note Added: 0017375 | |
2015-09-27 15:59 | x42 | Note Added: 0017376 | |
2015-09-27 16:00 | x42 | File Added: umlauts.png | |
2015-09-27 16:01 | x42 | Note Added: 0017377 | |
2015-09-27 16:05 | x42 | Note Added: 0017378 | |
2015-09-27 17:32 | colinf | Note Added: 0017382 | |
2015-09-28 11:18 | colinf | Note Added: 0017388 | |
2015-09-28 11:26 | colinf | Note Added: 0017389 | |
2015-09-28 11:27 | colinf | Note Edited: 0017389 | |
2015-09-28 11:37 | colinf | File Added: nightly.png | |
2015-09-28 12:54 | x42 | Note Added: 0017391 | |
2015-09-28 12:54 | x42 | File Added: pa_phase.png | |
2015-09-28 12:58 | x42 | Note Edited: 0017391 | |
2015-09-28 13:43 | colinf | Note Added: 0017394 | |
2015-09-28 13:48 | colinf | Summary | Non-ASCII characters in group tabs are garbled => UTF combining character sequences in group tabs & routing matrix are garbled |
2015-09-28 13:48 | colinf | Description Updated | |
2016-02-03 14:12 | colinf | Note Added: 0017874 | |
2016-02-03 14:12 | colinf | Status | new => resolved |
2016-02-03 14:12 | colinf | Resolution | open => no change required |
2016-02-03 14:12 | colinf | Assigned To | => colinf |
2020-04-19 20:16 | system | Note Added: 0023339 | |
2020-04-19 20:16 | system | Status | resolved => closed |