I have marked by 2 arrows in the red colors some vertical breaked lines. When I edit for example other letter like comma “,” and I select it, copy and after that I open another letter like “e” and I paste “,” there those vertical lines change their position. Those lines are responsible for distance between other letters when I write them in some application like Word. I don’t want those lines to change when I paste some other letters to the exist letter, how I am suppose to do that? Thank you for any help.
These vertical lines are the side-bearings of the glyph.
If the white space between the left side-bearing (usually at x=0) and the comma which you are pasting is less than the white space before the glyph you are pasting it into, the bearings will move accordingly.
At least three ways to solve this problem. Easiest first.
Before copying the comma, move it to the right, copy it to the clipboard, then undo (Control Z) to move it back to its original place. Move to the glyph you want to paste it into, and paste it. Now that it is to the right of the left edge of the glyph, the bearings won’t change.
Copy the glyph into which you’re pasting the comma by dragging it to the right while holding down the control key. Then drag it to the left. Then paste the comma. Then move the copied glyph back to the right of other glyphs before deleting it.
Edit the glyph’s properties to set the left side-bearing to the value currently shown for the white space before the glyph.
Select two or more glyphs in the overview, open the Glyph Edit Window, make it empty and paste both glyphs as a composite glyph. Using composites has some benefits, If you’re creating several letters with accent comma below, and you later decided to modify the comma accent, you only need to modify one glyph, and all composite glyphs using that comma accent will be modified simultaneously. Likewise, if you use composites to create ē ĕ ė ę ě ȅ ȇ etc., and later decide to modify the e, all the related composites will automatically modified too. Your TTF file will also be slightly smaller.