MetricsMachine Copy Transformation

Wei Huang
Posts: 98
1.
Hi all, I'm trying to do a simple copy transformation but I have no idea how to do this:
I want to copy all kerning exceptions that oslash has to oslashacute (both have o for left and right kerning group).
I've read the Manual but I can't understand it, I have this setting but the problem is that it actually copies the oslash kerning exceptions into the [o group kerning?:

2.
Also for future reference, this is the image example in the manual

and here's an example text:
Hi all, I'm trying to do a simple copy transformation but I have no idea how to do this:
I want to copy all kerning exceptions that oslash has to oslashacute (both have o for left and right kerning group).
I've read the Manual but I can't understand it, I have this setting but the problem is that it actually copies the oslash kerning exceptions into the [o group kerning?:

2.
Also for future reference, this is the image example in the manual

and here's an example text:
One to Many For example, A > A.sc or {A*.sc} or Aacute.sc or {Aacute.sc} will copy the values of all pairs containing A to A.sc, Aacute.sc , the group containing A.sc and the group containing Aacute.sc. You must explicitly de"ne groups in the Pattern or Replacement if you want to use a group.
How do I even enter that into the Copy panel?
Pattern:
A
Replacements Left box:
A.sc or {A*.sc} or Aacute.sc or {Aacute.sc}
Replacements right box: ???
This doesn't work, any help is much appreciated!
Tagged:
0
Comments
-
I’ve never found that panel in MetricsMachine to be very useful. In order to be versatile, it ends up being confusing instead.
Seems like what you want to do would be more easily accomplished with a simple Python script from within your UFO editor:f = CurrentFont()<br><br>for (l, r), value in f.kerning.items():<br> if l == 'oslash':<br> f.kerning[('oslashacute', r)] = value<br> # print l, r, value<br> if r == 'oslash':<br> f.kerning[(l, 'oslashacute')] = value<br> # print l, r, value<br><br>
Uncomment those 'print' commands if you want to have a report on which oslash pairs were copied.
1 -
Answer in the thread:0
-
Wei Huang said:Answer in the thread:
0 -
I think he means that the question has been answered (by Tal) on Twitter.0
-
Oh, okay. Thanks, Mark. If that’s true, then I’m sorry to be so quick to take offense. Like I said: Not on Twitter.
0 -
I respect that.0
Categories
- All Categories
- 46 Introductions
- 3.8K Typeface Design
- 475 Type Design Critiques
- 555 Type Design Software
- 1.1K Type Design Technique & Theory
- 640 Type Business
- 830 Font Technology
- 29 Punchcutting
- 507 Typography
- 120 Type Education
- 313 Type History
- 74 Type Resources
- 109 Lettering and Calligraphy
- 30 Lettering Critiques
- 79 Lettering Technique & Theory
- 529 Announcements
- 84 Events
- 110 Job Postings
- 165 Type Releases
- 169 Miscellaneous News
- 274 About TypeDrawers
- 54 TypeDrawers Announcements
- 118 Suggestions and Bug Reports