[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] New Binaries?
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] New Binaries? |
Date: |
Mon, 15 Jun 2015 17:01:44 +0100 |
On Mon, 2015-06-15 at 09:16 -0500, Jeremiah Benham wrote:
>
> In the "panel" on the right those are palette button labels,
> you can
> edit them (right click) and you will see that they are using
> the pango
> markup language - something like <span font-description=
> \"denemo\" ....)
>
>
> When I did right clicked and chose edit label, I saw what was supposed
> to be the font but it looked like a box with numbers on it [0123]. I
> erased this and tried to copy paste the font into the dialog box but I
> saw [0123] in the fonts place after pasting.
>
>
> I'm not sure where else this formula is used - look in the
> Notes/Rests->Change Duration, both the labels *and* the
> tooltips will be
> using the glyphs by one means or another I think.
> Which of these (if any) are working?
>
>
> I see the flat and sharp symbols seems to work. I can try a gtk2 build
> later tonight.
Ah, I see that I was remembering wrongly that the font was being
specified using pango markup. Pango markup *is* being used, for example
to make the label of the palette button that has two sharps and two
flats - the label is this:
♯<span rise="10000">♯</span>♭<span rise="10000">♭</span>
where the positioning is being done using markup, but the characters
themselves are just embedded. This button label actually displays
properly (because I guess sharp and flat are in the miscellaneous
symbols block, not the musical symbols block. Sharp is unicode U+266F).
Another example is the first button in the general palette, the one at
the top of the display. That is a treble clef sign in a large size, its
label is this
<span font='16'> 𝄞 </span>
That one displays as D834 in your screenshot. I can only guess that on
the Mac these embedded characters are being expected in a different
format (UTF-16 instead of UTF-8 ?).
Looking in the source of this label, the file actions/palettes.xml I see
label="<span font='16'> 𝄞 </span>"
which means that 0x1D11E is the character code being inserted, this is
what is called the unicode codepoint (I think what would be written U
+1D11E). I don't know what else might work in that position. Looking up
this unicode value I see that its UTF-16 representation is
D8 34 DD 1E
which hints to me that the (gtk routines for) the mac is just seeing the
D834 bit - which would explain why your screenshots seem to show this
same code on several buttons - they are all in the musical instruments
block, which is perhaps what the D834 refers to (the bass clef, for
example, is D8 34 DD 22 in UTF-16).
I'm not sure what the way through all this is, perhaps asking someone in
the gtk mac world about the representation of characters - or, if gtk2
works, then something in the upgrade documentation for gtk3 might help.
Richard
>
- Re: [Denemo-devel] New Binaries?, (continued)
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/03
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/05
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/09
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/10
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/11
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/11
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/11
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/11
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/11
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/15
- Re: [Denemo-devel] New Binaries?,
Richard Shann <=
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/16
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/16
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/16
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/16
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/16
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/17
- Re: [Denemo-devel] New Binaries?, Jeremiah Benham, 2015/06/17
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/18
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/18
- Re: [Denemo-devel] New Binaries?, Richard Shann, 2015/06/19