Forum Replies Created
-
AuthorPosts
-
Thanks!
That would be something for UFO3 I believe.
Is that right Frederik? Any idea if/when UFO3 will be supported in RF?Merci.
Indeed, there is some group-group and glyph-group and glyph-glyph kerning. So no way to get directly a value out the ufo?
Will try the temp dict.Thanks Frederik!
Ah thank. It works alright. With print I found that in the features there was something not okay: empty group []
new question: is there already a super handy script which remove glyphnames -that not appear in the ufo- from the featuresfile?
Anyone? :)
Hm. And why starting with the .notdef?
Like so?
familyName = ‘Fam’
styleName = ‘Style’
Latin1=[‘space’, ‘exclam’, ‘quotesingle’, ‘quotedbl’, ‘numbersign’, ‘dollar’, ‘percent’, ‘ampersand’, ‘parenleft’, ‘parenright’, ‘asterisk’, ‘plus’, ‘comma’, ‘hyphen’, ‘period’, ‘slash’, ‘zero’, ‘one’, ‘two’, ‘three’, ‘four’, ‘five’, ‘six’, ‘seven’, ‘eight’, ‘nine’, ‘colon’, ‘semicolon’, ‘less’, ‘equal’, ‘greater’, ‘question’, ‘at’, ‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’, ‘X’, ‘Y’, ‘Z’, ‘bracketleft’, ‘backslash’, ‘bracketright’, ‘asciicircum’, ‘underscore’, ‘grave’, ‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘h’, ‘i’, ‘j’, ‘k’, ‘l’, ‘m’, ‘n’, ‘o’, ‘p’, ‘q’, ‘r’, ‘s’, ‘t’, ‘u’, ‘v’, ‘w’, ‘x’, ‘y’, ‘z’, ‘braceleft’, ‘bar’, ‘braceright’, ‘asciitilde’, ‘exclamdown’, ‘cent’, ‘sterling’, ‘currency’, ‘yen’, ‘brokenbar’, ‘section’, ‘dieresis’, ‘copyright’, ‘ordfeminine’, ‘guillemotleft’, ‘logicalnot’, ‘registered’, ‘macron’, ‘degree’, ‘plusminus’, ‘twosuperior’, ‘threesuperior’, ‘acute’, ‘mu’, ‘paragraph’, ‘periodcentered’, ‘cedilla’, ‘onesuperior’, ‘ordmasculine’, ‘guillemotright’, ‘onequarter’, ‘onehalf’, ‘threequarters’, ‘questiondown’, ‘Agrave’, ‘Aacute’, ‘Acircumflex’, ‘Atilde’, ‘Adieresis’, ‘Aring’, ‘AE’, ‘Ccedilla’, ‘Egrave’, ‘Eacute’, ‘Ecircumflex’, ‘Edieresis’, ‘Igrave’, ‘Iacute’, ‘Icircumflex’, ‘Idieresis’, ‘Eth’, ‘Ntilde’, ‘Ograve’, ‘Oacute’, ‘Ocircumflex’, ‘Otilde’, ‘Odieresis’, ‘multiply’, ‘Oslash’, ‘Ugrave’, ‘Uacute’, ‘Ucircumflex’, ‘Udieresis’, ‘Yacute’, ‘Thorn’, ‘germandbls’, ‘agrave’, ‘aacute’, ‘acircumflex’, ‘atilde’, ‘adieresis’, ‘aring’, ‘ae’, ‘ccedilla’, ‘egrave’, ‘eacute’, ‘ecircumflex’, ‘edieresis’, ‘igrave’, ‘iacute’, ‘icircumflex’, ‘idieresis’, ‘eth’, ‘ntilde’, ‘ograve’, ‘oacute’, ‘ocircumflex’, ‘otilde’, ‘odieresis’, ‘divide’, ‘oslash’, ‘ugrave’, ‘uacute’, ‘ucircumflex’, ‘udieresis’, ‘yacute’, ‘thorn’, ‘ydieresis’, ‘dotlessi’, ‘circumflex’, ‘caron’, ‘breve’, ‘dotaccent’, ‘ring’, ‘ogonek’, ’tilde’, ‘hungarumlaut’, ‘quoteleft’, ‘quoteright’, ‘minus’]newFont = NewFont(familyName=familyName, styleName=styleName, showUI=True)
master = RFont(‘/path/to/your.ufo’, showUI=False)
for newGlyph in Latin1:
exGlyph = master[newGlyph]
newFont[newGlyph] = exGlyphOkay! Can you give a tiny example of the script? Thanks!
I see. So it makes more sense to make more ufo’s if you want specific charsets for your fonts?
O! the title should be: Generate/Compile /less yourCharset/greater only in otf
Great!
I searched for “doodle.GlyphCell” but can not find it… Can you give a head start ;)tcommaaccent gets the unicode of tcedilla. tcedilla doesn’t get a unicode. Is there something I do wrong, or I don’t know? Who can help? :)
Who needs the data? Frederik? Erik?
Yup, I already had a solution:
f = CurrentFont() g = CurrentGlyph() red = (1,0,0,1) cyan = (0,1,1,1) for g in f: if g.mark == cyan: g.mark = red g.update()
:)
Yes, this is easier and does exactly what I want!
Thanks Frederik!
-
AuthorPosts