Hello,
Does Font Creator allow the facilitation of transferring values from one value field to another for numerous pairs? For example, if I wish to transfer all my right side "XPlacement" values to the left XAdvance, can this be done as a mass edit for all affected pairs in a lookup (or, if in the editor...as a selection?
Mass transfer of value fields ?
-
- Posts: 65
- Joined: Sun Sep 02, 2018 1:24 am
Mass transfer of value fields ?
Font Creator 13
Windows 7 and 10 Pro
Windows 7 and 10 Pro
-
- Top Typographer
- Posts: 9878
- Joined: Tue Oct 29, 2002 5:28 am
- Location: Seven Kings, London UK
- Contact:
Re: Mass transfer of value fields ?
If a kerning lookup has any XPlacement Values, the Show Advanced Settings checkbox will disappear and the pos lookups will all have four values like this (I added an XPlacement value of 5 for @hyphen @J_Caps).
So, presumably your lookup table looks something like this:
You will need to run three replace operations:
1. Replace "<" with "<0 0 "
2. Replace " 0 0>" with ">"
3. Replace "<00 0>" with "<0>"
Please test carefully before saving any changes.
Code: Select all
subtable "Subtable Hyphen" {
pos @hyphen @J_Caps <5 0 -124 0> <0>;
pos @hyphen @M_Caps <0 0 29 0> <0>;
Code: Select all
subtable "Subtable Hyphen" {
pos @hyphen @J_Caps <-124 0 0 0> <0>;
pos @hyphen @M_Caps <29 0 0 0> <0>;
1. Replace "<" with "<0 0 "
2. Replace " 0 0>" with ">"
3. Replace "<00 0>" with "<0>"
Please test carefully before saving any changes.
-
- Posts: 65
- Joined: Sun Sep 02, 2018 1:24 am
Re: Mass transfer of value fields ?
Thank you Bhikkhu,Bhikkhu Pesala wrote: ↑Wed May 06, 2020 5:53 am If a kerning lookup has any XPlacement Values, the Show Advanced Settings checkbox will disappear and the pos lookups will all have four values like this (I added an XPlacement value of 5 for @hyphen @J_Caps).
So, presumably your lookup table looks something like this:Code: Select all
subtable "Subtable Hyphen" { pos @hyphen @J_Caps <5 0 -124 0> <0>; pos @hyphen @M_Caps <0 0 29 0> <0>;
You will need to run three replace operations:Code: Select all
subtable "Subtable Hyphen" { pos @hyphen @J_Caps <-124 0 0 0> <0>; pos @hyphen @M_Caps <29 0 0 0> <0>;
1. Replace "<" with "<0 0 "
2. Replace " 0 0>" with ">"
3. Replace "<00 0>" with "<0>"
Please test carefully before saving any changes.
I already do some of this. Unfortunately, it's difficult when you also have YPlacement values to deal with, as is my case.
Font Creator 13
Windows 7 and 10 Pro
Windows 7 and 10 Pro