Forum Replies Created
-
AuthorPosts
-
oh I see:
try this:
from lib.UI.fontOverView import DoodleGlyphCollectionView from vanilla import * font = CurrentFont() glyphs = [glyph for glyph in font if glyph.name.startswith("a")] w = Window((500, 500)) w.c = DoodleGlyphCollectionView((0, 0, -0, -0), listShowColumnTitles=True) w.c.set(glyphs) w.open()
the next version will test if there is a headerview (aka column headers in list mode)
thanks
well AllFonts() just return all fonts with an UI. If you open a font without a UI (with showUI=False) your script knows which fonts you opened. You can store them in a list if you like.
good luck
the contentView() has also
cellWidth
andcellSpacing
If you change those you will have to change the frame of the view and the size of the split view above
good luck!
yeah, you can use the same hack
glyphPreview.getNSView()._buffer = 40 glyphPreview.getNSView().refresh()
Ive added a better and friendlier API on my todo list :)
you can use something like this
from lib.tools.misc import walkDirectoryForFile root = "/my/Fonts/Folder" for path in walkDirectoryForFile(root, ".ufo"): OpenFont(path)
Hi
you mean change the point size of the text used to display the matrix view?
from AppKit import * from mojo.UI import CurrentSpaceCenter sp = CurrentSpaceCenter() font = NSFont.systemFontOfSize_(20) sp.inputScrollView.contentView().attributes[NSFontAttributeName] = font # tiny hack sp.inputScrollView.contentView()._input.setFont_(font)
but don’t expect this will look nicer :)
He Nina
you could hack around it…. (maybe I have to implement a friendly way :)
glyphLineView.contentView()._buffer = 20 # default is 15 glyphLineView.contentView().refresh()
He Nina
you can make a pdf from any “view” with:
view = glyphLineView.getNSScrollView().contentView() frame = view.frame() pdfData = view.dataWithPDFInsideRect_(frame) pdfData.writeToFile_atomically_(path, True)
good luck!
I re-looked at your topic after a tweet https://twitter.com/arialcrime/status/537553252783759360
And if I remembered it correctly it wasn’t an issue when I tested on 10.7 but now I see the issue
This will be resolved in the next updatethanks
there is no native support to build accents ‘magically’
you can still use robofab as the example above
or write a small glyph construction string when adding a glyph
adieresis=a+dieresis@top
see http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/
Hi
please update to the latest version of RoboFont, it helps :)
see
http://doc.robofont.com/download/
http://doc.robofont.com/version-history/thanks
Hi Jo
good catch, will be solved in the next update…
He Jens
This was already posted on the beta list and solved in the developers beta.
An update will be released soon…November 6, 2014 at 20:08 in reply to: [1.6] Crash when template glyphs with unicode > 0xffff should be displayed #6022He Jens
can you send me the ufo? I cannot reproduce it…
you can also try to launch RoboFont 1.6 with shift down, it will launch without installing any extension.good luck!
this seems to the case :)
will be fixed in the next update
-
AuthorPosts