Default position for ogonek anchor

Hi guys,

Request from Polish community :slight_smile:
wouldn’t it be better to set default position for ogonek anchor to 0 not 10? I have to manually lower it after hitting Set Anchors…

Best,
Michał

You can change this by editing your GlyphData.xml file.

Check :

1 Like

I kind of did that position on purpose. A slightly off position forces the user move it to the right place. The ogonek anchor has very specific locations in different glyphs and that can’t really be automated. But that is more true for the round letters like “e” and “u”, not so much for “a” and “i”. (at least I usually place the ogonek anchor slightly above the baseline in the round letters).

Thanks for this. I modified xml file and now I have what I always wanted! :smiley:

Can you post you modifications? I totally forgot that we have those anchor recipes.

of course.

<glyphData format="2">
	<glyph unicode="02DB" name="ogonek" sortName="ms017" decompose="ogonekcomb" category="Mark" subCategory="Spacing" description="OGONEK" anchors="ogonek@baseline;maxX"/>

	<glyph unicode="0041" name="A" category="Letter" case="upper" script="latin" description="LATIN CAPITAL LETTER A" anchors="top, bottom, ogonek@baseline;maxX" marks="acutecomb, brevecomb, caroncomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, ringcomb, tildecomb, brevecomb_acutecomb, brevecomb_gravecomb, brevecomb_hookabovecomb, brevecomb_tildecomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0045" name="E" category="Letter" case="upper" script="latin" description="LATIN CAPITAL LETTER E" anchors="top, bottom, ogonek@baseline;maxX, topleft" marks="acutecomb, brevecomb, caroncomb, cedillacomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, tildecomb, verticallinebelowcomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0049" name="I" category="Letter" case="upper" script="latin" description="LATIN CAPITAL LETTER I" anchors="top, bottom, ogonek@baseline;maxX, topleft" marks="acutecomb, brevecomb, caroncomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, tildecomb" />
	<glyph unicode="004F" name="O" category="Letter" case="upper" script="latin" description="LATIN CAPITAL LETTER O" anchors="top, bottom, center, topright, ogonek@baseline, topleft" marks="horncomb, caroncomb, gravecomb, acutecomb, circumflexcomb, tildecomb, dieresiscomb, hungarumlautcomb, macroncomb, brevecomb, slashlongcomb, dotbelowcomb, ogonekcomb, dblgravecomb, hookabovecomb, breveinvertedcomb, verticallinebelowcomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0055" name="U" category="Letter" case="upper" script="latin" description="LATIN CAPITAL LETTER U" anchors="top, bottom, ogonek@baseline, topright" marks="horncomb, caroncomb, acutecomb, circumflexcomb, dieresiscomb, gravecomb, hungarumlautcomb, ogonekcomb, brevecomb, macroncomb, ringcomb, tildecomb, dotbelowcomb, dblgravecomb, hookabovecomb, breveinvertedcomb" />

	<glyph unicode="0061" name="a" category="Letter" case="lower" script="latin" description="LATIN SMALL LETTER A" anchors="top, bottom, ogonek@baseline" marks="acutecomb, brevecomb, caroncomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, ringcomb, tildecomb, brevecomb_acutecomb, brevecomb_gravecomb, brevecomb_hookabovecomb, brevecomb_tildecomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0065" name="e" category="Letter" case="lower" script="latin" description="LATIN SMALL LETTER E" anchors="top, bottom, ogonek@baseline" marks="acutecomb, brevecomb, caroncomb, cedillacomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, tildecomb, verticallinebelowcomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0131" name="idotless" sortName="i_" category="Letter" case="lower" script="latin" production="dotlessi" description="LATIN SMALL LETTER DOTLESS I" anchors="top, bottom, ogonek@maxX;baseline" marks="acutecomb, brevecomb, caroncomb, circumflexcomb, dieresiscomb, dotaccentcomb, dotbelowcomb, gravecomb, hookabovecomb, macroncomb, ogonekcomb, tildecomb" />
	<glyph unicode="006F" name="o" category="Letter" case="lower" script="latin" description="LATIN SMALL LETTER O" anchors="top, bottom, center, topright, ogonek@baseline" marks="horncomb, caroncomb, gravecomb, acutecomb, circumflexcomb, tildecomb, dieresiscomb, hungarumlautcomb, macroncomb, brevecomb, slashlongcomb, dotbelowcomb, ogonekcomb, dblgravecomb, hookabovecomb, breveinvertedcomb, verticallinebelowcomb, circumflexcomb_acutecomb, circumflexcomb_gravecomb, circumflexcomb_hookabovecomb, circumflexcomb_tildecomb" />
	<glyph unicode="0075" name="u" category="Letter" case="lower" script="latin" description="LATIN SMALL LETTER U" anchors="top, bottom, ogonek@baseline, topright" marks="horncomb, caroncomb, acutecomb, circumflexcomb, dieresiscomb, gravecomb, hungarumlautcomb, ogonekcomb, brevecomb, macroncomb, ringcomb, tildecomb, dotbelowcomb, dblgravecomb, hookabovecomb, breveinvertedcomb" />

</glyphData>