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
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports