[FIXED] delete base glyph
[FIXED] delete base glyph
1. create unmapped composite, e.g. a+overlinecomb
2. AutoAttach, lsb(a), rsb(a) 3. delete the contents of the base glyph a and here's the result: Regardless of the mark, all marks shift to x=0, anchors shift and sth happens to the AW.
This doesn't happen with LSB/RSB set to a specific value or to base().
2. AutoAttach, lsb(a), rsb(a) 3. delete the contents of the base glyph a and here's the result: Regardless of the mark, all marks shift to x=0, anchors shift and sth happens to the AW.
This doesn't happen with LSB/RSB set to a specific value or to base().
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: delete base glyph
Well, it might all seem confusing, but if your LSB is set to lsb(a) and you clear glyph "a", the left side-bearing of a is changed from 37 to 0. So the composite will be forced to have a lsb of zero, thus the mark is moved to comply.
I am not sure why the RSB is not equal to 578 in your screenshots, but maybe you moved the rsb of the "a".
I am not sure why the RSB is not equal to 578 in your screenshots, but maybe you moved the rsb of the "a".
Re: delete base glyph
Being confused is my default settingWell, it might all seem confusing
Nope, didn't:I am not sure why the RSB is not equal to 578 in your screenshots, but maybe you moved the rsb of the "a".
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: delete base glyph
So it is confusing to me, as 578 was the AW of the composite, while I was actually interested in the AW of the base glyph. Your new screenshots show that the values are correct.Erwin Denissen wrote: ↑Wed Jun 08, 2022 9:02 am Well, it might all seem confusing, but if your LSB is set to lsb(a) and you clear glyph "a", the left side-bearing of a is changed from 37 to 0. So the composite will be forced to have a lsb of zero, thus the mark is moved to comply.
I am not sure why the RSB is not equal to 578 in your screenshots, but maybe you moved the rsb of the "a".
Re: delete base glyph
How come?
Even if the overline moves to 0 and other values adjust, it's width is 482. It seems that the new AW is the sum of a AW (537) and the width of the overline (482), to arrive at 1019. Why is that a correct value?
Even if the overline moves to 0 and other values adjust, it's width is 482. It seems that the new AW is the sum of a AW (537) and the width of the overline (482), to arrive at 1019. Why is that a correct value?
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: delete base glyph
Any other value of AW would conflict with your expression for RSB.
Re: delete base glyph
At the risk of sounding like a 3-year-old, why? I see the mechanism, but not the logic behind it.Any other value of AW would conflict with your expression for RSB.
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: delete base glyph
Well, lsb plus the width of the outline plus rsb equals aw.
Re: delete base glyph
There ought to be a smiley hitting the wall especially for me! I hope other aspects of your job are triply fulfilling.
Re: delete base glyph
Another question: if a glyph (A) has numeric values as LSB/RSB, and I copy/paste special values from another glyph (B), it receives new numeric values. If a glyph (A) has lsb(X)/rsb(X) values, and I copy/paste special values from another glyph (B), it keeps lsb(X)/rsb(X). Am I too confused again to see the obvious?
-
- Moderator
- Posts: 11160
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: delete base glyph
No, this is just one more ordinary bug...
It will be fixed with the next upcoming update.
Re: delete base glyph
Oh, good, I'm not going crazy then