Recent Posts

Pages: [1] 2 3 ... 10
The many-to-one contextual substitutions, or contextual ligatures, are perfectly fine in AAT. In fact, the plain ligature lists are implemented as such behind the scenes. Problem is that OS X Font Tools for some reason do not provide any syntax to work with those specific tables directly.

Your particular case, though, is simple enough that it can be simulated with a backward-moving contextual substitution table. Try the code below. It’s in the Apple’s former syntax, the so-called Morph Input File format, or MIF, which I often find more readable than the new one. You compile it into a font as usual:

Code: [Select]
ftxenhancer -m input.mif font.ttf
I've typed the table without testing it, so please feel free to point out any errors if encountered. I’ve been using similar state machines in various scenarios in the past and it worked well for me. The table:

Code: [Select]
Type Contextual
Namecode 16000
Setting NULL
Settingcode 0
Default yes
Orientation H
Forward no
Exclusive no

Context uni102B uni1032 uni102D uni102E
Right   uni103C
Left    uni1000 uni1003 uni1006 uni1010 uni1011 uni1018 uni101C
+       uni101E uni101F uni1001 uni1002 uni100E uni1004 uni1005
+       uni1007 uni1012 uni1015 uni1016 uni1019 uni101D uni1065

            EOT     OOB     DEL     EOL     Context Right   Left
StartText   1       1       1       1       2       1       1       
StartLine   1       1       1       1       2       1       1       
HasContext  1       1       2       1       2       3       1       
HasRight    1       1       4       1       2       1       5       

    GoTo        Mark?   Advance?    SubstMark   SubstCurrent
1   StartText   no      yes         none        none
2   HasContext  no      yes         none        none
3   HasRight    yes     yes         none        none
4   HasRight    no      yes         none        none
5   StartText   no      yes         DelRight    SubstLeft

    uni103C DEL
    uni1000 uni1000_uni103C.alt     
    uni1003 uni1003_uni103C.alt     
    uni1006 uni1006_uni103C.alt     
    uni1010 uni1010_uni103C.alt
    uni1011 uni1011_uni103C.alt
    uni1018 uni1018_uni103C.alt     
    uni101C uni101C_uni103C.alt     
    uni101E uni101E_uni103C.alt     
    uni101F uni101F_uni103C.alt     
    uni1001 uni1001_uni103C.alt     
    uni1002 uni1002_uni103C.alt     
    uni100E uni100E_uni103C.alt
    uni1004 uni1004_uni103C.alt
    uni1005 uni1005_uni103C.alt
Fontographer Problems / Re: Omega!!!!
« Last post by Thomas Phinney (FontLab) on 2014-08-29, 13:49:52 »
Hi Dave,

1) Try making the glyph name uni2126 (with the appropriate Unicode).

If that doesn't fix the problem:

2) Try creating two glyphs, one of which just uses the other as a component. Name one uni2126 and the other uni03A9, with appropriate Unicode values.
Thanks Thomas for the perfect answer!

I have made my font using only fix numbers 512 256 128 64 32 etc
I made a new file and i started from zero;
and following your instructions work well.

I was inspired by Font in Elysium film so i made my private font just for learning.
Now i can look to my compact code in dark and looks much better.

Foto 1: Link

Foto 2: Link

Fontographer Problems / Re: Omega!!!!
« Last post by sumoncps on 2014-08-29, 03:46:43 »
We'll start casually and work our way to more complex features and ideas. .... If you supply the correct glyph name (for example iacute ) your font program ... Glyphs that should only have a glyph name (and no Unicode value!)
Fontographer Problems / Re: unable to move points
« Last post by sumoncps on 2014-08-29, 03:44:13 »
Good question. When i was beginer photoshop pen tool at the same time i am facing this kind of problem. Anyway This link help to you.
Vector graphics are digital images that, unlike what happens with digital photographs, can be redrawn or rescaled at any size without any loss of quality. The reason why, to put it simply, is that such graphics don't contain low-level lists of colored points (pixels) but computer instructions on how to draw each of their geometric elements. The most popular Free Software editor for vector graphics is the cross-platform Inkscape.I have already shown, here on TechRepublic, how to insert interactive vector charts in your Web pages. This time, I'll introduce some general methods to automate generation or modification of images of the same kind with Inkscape and a bit of scripting. If you need more details on specific points, just ask for them in the comments, and I'll devote another post to them.Why would you want to learn something like this? Well, because the techniques described here may save a lot of time and boring, repetitive work for anyone who has to:save many vector graphics in different formats and/or at different sizes and resolutions (e.g. one for Web publishing, one for printing business cards or brochures, and one for printing large posters)create many, slightly different versions of the same base graphic, for personalized logos or bannerscreate sketches, containing all the objects of the final graphic, ready to be rearranged or completed manually without starting from scratch (this may be useful to teachers using vector graphics as parts of personalized homework)Let's now see how all this can happen. Like many other good Free Software tools, Inkscape has a command line interface (CLI). That way to use Inkscape may seem unnatural, but can make it much more usable (by making you open the GUI only when it's really needed) even on very slow hardware. Some operations will work even on systems without any graphical desktop installed, that is, should you ever need it, on remote servers. In general, you can use the Inkscape CLI to convert graphics, modify them, or check their structure and properties. The complete list of options is available in the manual, or by typing inkscape --help at the command prompt.#1 Print or export to other formatsNeed to print or convert automatically many Inkscape graphics at some specified resolution? No problem! Some combination of the Inkscape --export options, properly embedded in a Bash script loop will do the job:1 for F in `find . -type f -name "*svg"`2  do3    BASE=`basename $F .svg`4    inkscape --export-area-drawing     \5      --export-png=$BASE.exported.png  \6      --export-width=60                \7      --export-height=60 $F8  doneThe Bash code above finds all the files with the .svg extension in the current directory (and all its subdirectories!). Line 3 puts its basename in the temporary variable $BASE. Lines 4 to 7 are one single Inkscape invocation, that creates a PNG copy of the specified size, called $BASE.exported.png, of the whole drawing contained in the original file. Should you need printing, instead, check out the -p option, which may be even piped to other programs.# 2 Modify existing vector graphics with Inkscape verbsAutomatic export or format conversion of your drawings is good. Telling your computer to do the actual drawing, or at least many small, necessary but brainless edits is much better. In the Inkscape CLI, commands are associated to verbs. Pass to Inkscape the --verb-list switch to know which verbs it understands. Using verbs, creation of many variants of the same drawing is a snap, as shown in this popular example:inkscape --select=path616 --verb ObjectFlipVertically --verb FileSave --verb FileClose violin_key_flipped.svgThis tells Inkscape (see Figure A) to flip vertically the violin key object inside the violin_key_flipped.svg file and then save it, with the same name.Figure Afigure_a_inkscape_verbs.pngOf course, in order to tell Inkscape to modify something, you must know what its name is: if I had not told Inkscape to work on the object called path616, nothing would have happened. There are two ways to get this information. One is to open the initial vector graphic with Inkscape, right-click on the object that should be later modified from the CLI, and select "Properties". At the prompt or from shell scripts, instead, you should use the --query options of Inkscape. --query-all, for example, provides name, position, size and other information of all the objects that constitute a vector graphic:[marco@polaris ~]$ inkscape --query-all violin_key.svgsvg101,1.6352039,1.7660537,85.876586,157.44916path616,5.1436469,22.91937,72.013421,116.11488path615,1.6352039,1.7660537,85.876586,157.44916... (rest of outputs snipped for brevity)#3 Generate slideshows from textThe cool, little known tool called InkSlide creates vector graphics slideshows, using a previously generated Inkscape template, from plain text input like this:Slide Title++++++++++++++++++- first level bullet- second level bullet...#4 Process SVG with shell scriptsBeing just drawing instructions, vector graphic are mostly made of plain text:[marco@polaris scripting_inkscape]$ more violin_key_flipped.svg<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Created with Sodipodi ("") --><svgxmlns:dc=""etc etc...Therefore, we can generalize what you just read in the previous paragraph. You can write your own scripts that, just like InkSlide, edit or combine text and/or files generated manually with Inkscape to produce other vector graphics. Of course, this method is more difficult than the others, but it also is much more flexible. Inkscape verbs, for example, cannot use parameters. Such a limitation doesn't exist if you process the graphics source code by yourself. Besides, this is something that you may even do manually, with any text editor, if you had to make little changes to a graphic in a hurry, when Inkscape isn't available. In practice, to learn how to do this from Inkscape, you should click on "Edit->XML Editor". In that window, you'll be able to see how actions performed in the graphic interface change the XML source. This will teach you how your script should work to reproduce the same edits.I'll stop here for now, but if you want to know more, just ask. In the meantime, have a look at these tips for creating diagrams and at these to play with text inside vector graphics.
Fontographer Wish List / Re: 5.1 Wish List
« Last post by sumoncps on 2014-08-29, 03:35:54 »
A Product Owner's First Glimpse of Agile ... he submitted to implement the latest month's compensation scheme his boss ... Arthur always tried to prioritize the things he submitted, but experience had shown that it rarely helped
Electronic EULA Abstract (EEULAA) / Re: EEULAA Editor
« Last post by sumoncps on 2014-08-29, 03:33:11 »
ok i will try.
FontLab Studio Problems / Re: Baseline, gutters disappeared
« Last post by jezzurp on 2014-08-28, 06:04:41 »
Found it... if anyone else has same trouble...

View menu  >> Show Layers  >> Glyph Metrics
FontLab Studio Problems / Re: Baseline, gutters disappeared
« Last post by jezzurp on 2014-08-28, 05:56:54 »
In case it's not clear what I mean, attached a screen shot, you can see the baseline and the vertical lines have disappeared. I can see anything in menus or shortcuts to show/hide so not sure what to do?
Pages: [1] 2 3 ... 10