Page 2 of 2

Re: [FIXED] From some characters not make composite characters

Posted: Wed Nov 22, 2023 4:58 pm
by Bhikkhu Pesala
I am using Vivaldi, which is also Chrome-based.

Edit: The download page now shows the 64-bit version as the default.

Re: [FIXED] From some characters not make composite characters

Posted: Wed Nov 22, 2023 6:32 pm
by LisanAlGaib
This is update much better, but there are some issues. I can change anchor position manually but I cannot save my new anchor positions. "hcaron" character's caron not centered but it should be. "kcaron" has a same problem. The algorithm want to "onehalf" but has not succeed. The algorithm do not want to "onequarter" and "threequarters" that is weird.

Re: [FIXED] From some characters not make composite characters

Posted: Wed Nov 22, 2023 7:14 pm
by Bhikkhu Pesala
You need to edit the anchor position on the h, not on the caron accent.
h caron centred on stem.png
h caron centred on stem.png (17.75 KiB) Viewed 44619 times
h caron centred on glyph.png
h caron centred on glyph.png (17.67 KiB) Viewed 44619 times

Re: [FIXED] From some characters not make composite characters

Posted: Wed Nov 22, 2023 8:13 pm
by LisanAlGaib
Reread my second sentence.

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 9:24 am
by Erwin Denissen
LisanAlGaib wrote: Wed Nov 22, 2023 6:32 pm This is update much better, but there are some issues. I can change anchor position manually but I cannot save my new anchor positions. "hcaron" character's caron not centered but it should be. "kcaron" has a same problem. The algorithm want to "onehalf" but has not succeed. The algorithm do not want to "onequarter" and "threequarters" that is weird.
The anchors should be stored if you save your font project. They might be lost if you export as TrueType/OpenType font, but only if the anchors are not used in your OpenType layout features.

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 9:37 am
by Erwin Denissen
Bhikkhu Pesala wrote: Wed Nov 22, 2023 4:58 pm I am using Vivaldi, which is also Chrome-based.

Edit: The download page now shows the 64-bit version as the default.
Here it also changes sometimes, so I have now removed the server-side check and just hard-coded the preferred 64-bit edition. Nowadays most Windows versions run on 64-bit I suppose.

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 9:39 am
by LisanAlGaib
It should be works like you said but I haven't experienced this. In my project I change manually anchor coordinates but project save not store the changed anchor coordinates.

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 10:39 am
by Bhikkhu Pesala
If k cedilla (comma) is composed with the Complete Composites method, the following code will be used:

Code: Select all

<Composite><!-- k cedilla (comma) -->
<GlyphMapping>311</GlyphMapping>
	<Member id="1">
	<GlyphMapping>107</GlyphMapping>
		<UseMetrics>TRUE</UseMetrics>
	</Member>
	<Member id="2">
	<GlyphMapping>806</GlyphMapping>
		<Pos>Auto</Pos>
	</Member>
	</Composite>
If anchor-based composition is used, the top anchor position on the lowercase k will be used.
k top anchor.png
k top anchor.png (7.41 KiB) Viewed 44581 times
If the position of the k top anchor is modified, the position of the accent will change to match, and the change will be saved in the project file. It is personal design decision whether to centre the accent over the stem, or over the glyph. What looks best will depend on the font design. A wide caron accent may clash with adjacent glyphs, for example, then centring the accent over the glyph will be a better choice.
k top anchor centred.png
k top anchor centred.png (7.68 KiB) Viewed 44581 times

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 4:50 pm
by LisanAlGaib
My problem is:

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 7:28 pm
by Bhikkhu Pesala
As I said earlier, change the position of the anchor on the k, not on the accent, and why are you using doubleacute.comb for k cedilla?

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 7:47 pm
by LisanAlGaib
Do you understand my problem? My problem is that I want to change manually anchor coordinates and save them and after that use make composite with automatic method. But the software don't care that I changed an anchor coordinates or not save my changes. This is my problem.

Re: [FIXED] From some characters not make composite characters

Posted: Thu Nov 23, 2023 8:42 pm
by Bhikkhu Pesala
If you are moving anchors, use anchor-based glyph composition.

Re: [FIXED] From some characters not make composite characters

Posted: Fri Nov 24, 2023 10:06 am
by LisanAlGaib
If I have a stylistics set I have a "middledot" a "L" and a "l" character in this stylistics set when push the button "make composite" nothing happens. I want to make "Lmiddledot" and "lmiddledot" characters with this function in my stylistics sets.

Re: [FIXED] From some characters not make composite characters

Posted: Fri Nov 24, 2023 12:02 pm
by Bhikkhu Pesala
Use Complete Composites for this. A definition exists in CompositeData.xml.

Code: Select all

<Composite><!-- L Middle Dot -->
<GlyphMapping>319</GlyphMapping>
	<Member id="1">
	<GlyphMapping>76</GlyphMapping>
		<UseMetrics>TRUE</UseMetrics>
	</Member>
	<Member id="2">
	<GlyphMapping>183</GlyphMapping>
	</Member>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Right</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Right</Position>
			<Offset>30%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignVertical>
		<Source>
			<Member>1</Member>
			<Position>Middle</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Middle</Position>
		</Dest>
	</AlignVertical>
	</Composite>
<Composite><!-- l middle dot -->
<GlyphMapping>320</GlyphMapping>
<InheritLSB>108</InheritLSB>
<RSB>0</RSB>
	<Member Id="1">
	<GlyphMapping>108</GlyphMapping>
	</Member>
	<Member Id="2">
	<GlyphMapping>183</GlyphMapping>
	</Member>
	<AlignHorizontal>
		<Source>
			<Member>1</Member>
			<Position>Right</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Left</Position>
			<Offset>-100%</Offset>
		</Dest>
	</AlignHorizontal>
	<AlignVertical>
		<Source>
			<Member>1</Member>
			<Position>Middle</Position>
		</Source>
		<Dest>
			<Member>2</Member>
			<Position>Middle</Position>
		</Dest>
	</AlignVertical>
	</Composite>

Re: [FIXED] From some characters not make composite characters

Posted: Fri Nov 24, 2023 12:34 pm
by LisanAlGaib
I want to use "make complete composite". There are four options to do the job. I want to use an option because I use option and after I use another option can override the first option's result. Today I have been used anchor-based complete composite after I have been use auto complete composite. Anchor-based make the job but auto override my saved anchors. You advice to me I use a different option? Why? I don't think this a good idea. I think some lines missing from the software's code to do the job one option correctly. Why I think that? Because the software make the job correctly with many different characters with many accents or diactritics in my stylistic sets.