diacritic stacking: positioning problem
Re: diacritic stacking: positioning problem
I'm sorry, but I think I'm a bit lost.
How do I get abreveacute to display correctly (without using Custom Formula)?
I have:
1. Multiple Substitution: abreveacute > a+brevecomb+acutecomb
2. Chaining Context with Single Substitution lookup: brevecomb > brevecomb.alt before acutecomb
What am I missing?
How do I get abreveacute to display correctly (without using Custom Formula)?
I have:
1. Multiple Substitution: abreveacute > a+brevecomb+acutecomb
2. Chaining Context with Single Substitution lookup: brevecomb > brevecomb.alt before acutecomb
What am I missing?
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: diacritic stacking: positioning problem
Do send the project file to us and we will look into it.
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: diacritic stacking: positioning problem
I have taken a look at the font, and it seems to work just fine:
Re: diacritic stacking: positioning problem
Hi,
I have make this video about Mark positioning in Arabic Font, As i think same procedure for diacritic, see Glyphs composition/ decomposition how i make it, maybe it useful for you
https://youtu.be/3DihbCrLahE
viewforum.php?f=4
Thanks
I have make this video about Mark positioning in Arabic Font, As i think same procedure for diacritic, see Glyphs composition/ decomposition how i make it, maybe it useful for you
https://youtu.be/3DihbCrLahE
viewforum.php?f=4
Thanks
Re: diacritic stacking: positioning problem
Husham, thank you for the video link. I think I got that - but I'm not sure it applies to cases such as e.g. abreveacute.
Erwin, yes, the font works and the preview works, but in the workspace and glyph view, the 2nd diacritic is displayed in its unchanged position:
The only way I found of getting around this problem was to manually change the glyph composition formula for each such case. 1. Is there a way of doing this automatically? 2. Is there a way of accessing a list of all such formulas used in a font?
Erwin, yes, the font works and the preview works, but in the workspace and glyph view, the 2nd diacritic is displayed in its unchanged position:
The only way I found of getting around this problem was to manually change the glyph composition formula for each such case. 1. Is there a way of doing this automatically? 2. Is there a way of accessing a list of all such formulas used in a font?
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: diacritic stacking: positioning problem
No, there is no list of those formulas.
I still think this is not the preferred way to make this work, but there are ways to also make that work.
Right now abreveacute is made out of /abreve/acutecomb. You will probably want it to use /a/brevecomb.alt/acutecomb
You could edit the composite definitions in CompositeData.xml and then use Complete Composites using that data. Here is one line added (<GlyphMapping>57600</GlyphMapping>) to make it work for abreveacute :
Code: Select all
<Composite><!-- a breve acute -->
<GlyphMapping>7855</GlyphMapping>
<Member id="1">
<GlyphMapping>97</GlyphMapping>
<UseMetrics>TRUE</UseMetrics>
</Member>
<Member id="2">
<GlyphMapping>57600</GlyphMapping> <!-- use brevecomb.alt if availabe -->
<GlyphMapping>774</GlyphMapping>
<GlyphMapping>728</GlyphMapping>
<Pos>Auto</Pos>
</Member>
<Member id="3">
<GlyphName>acutecomb.case</GlyphName>
<GlyphName>acutecomb</GlyphName>
<GlyphName>acutemod</GlyphName>
<GlyphName>acute</GlyphName>
<Pos>Auto</Pos>
</Member>
<AlignVertical>
<Source>
<Member>2</Member>
<Position>Top</Position>
</Source>
<Dest>
<Member>3</Member>
<Position>Bottom</Position>
<Offset>-25%</Offset>
</Dest>
</AlignVertical>
</Composite>
Re: diacritic stacking: positioning problem
Thank you.
And could you show me, using my file, which features you'd remove, and what you'd add, in order to make it work your way? (Just /abreve/acutecomb for example)I still think this is not the preferred way to make this work
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: diacritic stacking: positioning problem
Here is a subset of your font with the preferred way.
- Attachments
-
- StackingMark.fcp
- (6.17 KiB) Downloaded 166 times
Re: diacritic stacking: positioning problem
Sorry, reading your reply above now! Can you save the file for FC11? Thank you!
What I cannot understand is why this works in the case of idotless. i before acutecomb is changed to idotless via chaining context + single substitution. When I use chaining context + multiple substitution for abreve to change it into a + brevecomb.alt before acutecomb, nothing happens. I couldn't find any special formula for i acute in the CompositeData.xml, yet the formula for constructing composite glyph has idotless+acutecomb. So why don't I get a similar result for abreveacute?
What I cannot understand is why this works in the case of idotless. i before acutecomb is changed to idotless via chaining context + single substitution. When I use chaining context + multiple substitution for abreve to change it into a + brevecomb.alt before acutecomb, nothing happens. I couldn't find any special formula for i acute in the CompositeData.xml, yet the formula for constructing composite glyph has idotless+acutecomb. So why don't I get a similar result for abreveacute?
Re: diacritic stacking: positioning problem
Aaaand it works! Thank you.
And if you could answer the question from my previous post, I'd be overjoyed. I'm trying to learn and understand, not just do.
And if you could answer the question from my previous post, I'd be overjoyed. I'm trying to learn and understand, not just do.
Re: diacritic stacking: positioning problem
WAW Erwin, I like this preferred way, Master's touchErwin Denissen wrote: ↑Thu Feb 18, 2021 5:13 pm Here is a subset of your font with the preferred way.
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: diacritic stacking: positioning problem
FontCreator does some magic to make it work.NinnaD wrote: ↑Thu Feb 18, 2021 5:20 pm What I cannot understand is why this works in the case of idotless. i before acutecomb is changed to idotless via chaining context + single substitution. When I use chaining context + multiple substitution for abreve to change it into a + brevecomb.alt before acutecomb, nothing happens. I couldn't find any special formula for i acute in the CompositeData.xml, yet the formula for constructing composite glyph has idotless+acutecomb. So why don't I get a similar result for abreveacute?
I am glad to know it works.
Re: diacritic stacking: positioning problem
And it's always fun figuring out how magic tricks work
On that note, where do the "<GlyphMapping>...</GlyphMapping>" values in the CompositeData.xml come from?
On that note, where do the "<GlyphMapping>...</GlyphMapping>" values in the CompositeData.xml come from?
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: diacritic stacking: positioning problem
They are the decimal code-points of the defined glyphs. See the Complete Composites Tutorial
Note: Some of the inline images have disappeared from the server.