FontLab Forum
2012-02-08, 19:58:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: User-Defined Sort Order  (Read 3794 times)
ejj
Sr. Member
****

Karma: +0/-0
United States United States

Posts: 9


« on: 2009-11-09, 14:37:32 »

Hi

We are editing a font with ~38,000 glyphs and would like to view groups of 10-100 glyphs together. I would like to use Python to either reorder the glyphs according to a given input list or to hide glyphs not in the list. What would be the most straightforward way to do this?
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-0
Russian Federation Russian Federation

Posts: 439



WWW
« Reply #1 on: 2009-11-10, 06:17:50 »

Creating custom encoding file is the most easy way. It is described in the manual.
Logged
ejj
Sr. Member
****

Karma: +0/-0
United States United States

Posts: 9


« Reply #2 on: 2010-01-18, 13:10:26 »

The manual says that there is an Encoding directory with *.enc files but our installations don't have that directory. Any ideas?
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-0
Russian Federation Russian Federation

Posts: 439



WWW
« Reply #3 on: 2010-01-19, 03:04:23 »

This is impossible. Are you on Windows or Mac?
Logged
ejj
Sr. Member
****

Karma: +0/-0
United States United States

Posts: 9


« Reply #4 on: 2010-02-17, 14:05:42 »

I am on Windows (Vista). Perhaps you could suggest an alternative directory or file type -- that would likely be more helpful.
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-0
Russian Federation Russian Federation

Posts: 439



WWW
« Reply #5 on: 2010-02-18, 08:18:46 »

Oh, sorry. AFS/Win has no the "Encoding" directory installed.

So follow these steps:
1. Create the "Encoding" folder in C:\Program Files\FontLab\AFS4\ or wherever you have AFS installed.
2. Run AFS, open a font.
3. Click on the Names button in the Font window header to switch to the Names mode.
4. Now click on "ABCD" button (5th button in the header) and save the current encoding to the created at step 1 C:\Program Files\FontLab\AFS4\Encoding\ folder.
5. Quit AFS and edit the .enc file. Refer to the Manual to learn about the encoding file format and editing techniques.
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!