How do I transform a .ai vector file to a .ttf font file? How do I create a font from a vector file?
-
I'm trying to automate the process of creating font but I couldn't find an algorithm which will do the job. Can anyone suggest an efficient algorithm to convert vector files(.ai) to a font file(.ttf or .otf)
-
Answer:
Agreed with Hannes that there is a lot more to it than âsave as.â Besides the technical parts of getting the glyphs over, there are a bunch of things that you canât prepare in Illustrator: proper point placement (points at extrema), metadata, hinting, and also design work such as spacing, kerning, and so forth.All those later steps are just part of learning type design, and learning your font creation software. Note also that although you can draw outlines in Adobe Illustrator and move them to a font editing program, >95% of professional type designers draw directly in their font editing programs. They help with all sorts of aspects of creating letterforms, and their drawing tools are optimized for the purpose.Anyway, as far as just getting the glyphs over intact from Adobe Illustrator, FontLabâs Adam Twardoch offers this guide: http://forum.fontlab.com/index.php?topic=7596.0, which also applies to TypeTool and should apply to recent versions of Illustrator as well. Indeed the Illustrator parts are likely applicable to other font editors, although I canât promise anything.There are also many videos on YouTube addressing this. Pick your font editor, and do a search, such as this one: https://www.youtube.com/results?search_query=import+illustrator+fontlab* * * * *Below are some notes regarding working with Adobe Illustrator (including version CS5) and FontLab Studio orTypeTool. First, you need to set up your Illustrator to work optimally with FontLab Studio. Make sure the Illustrator settings are as follows:1. Preferences / Units: General and Stroke are set to "Points". One pt (point) in Illustrator will correspond to one UPM font unit in FontLab Studio. 2. Preferences / Guides & Grid: Gridline every 10 pt, Subdivisions 1. 3. Preferences / File Handling & Clipboard: make sure AICB is enabled and Preserve Paths is selected. 4. Set your document size to something like 1000 x 1000 pt. 5. Enable View / Rulers / Show Rulers and View / Rulers / Change to Global Rulers. The last option is necessary so that the placement of the shape in Illustrator CS4 and CS5 correspond to the placement in FontLab Studio. 6. Draw a horizontal guideline where the baseline of your glyph should be. 7. Move the ruler origin to the intersection of the left artboard boundary and that guideline. (Click on the small rectangle at the top-left corner of the rulers and drag the cross to that intersection). This will make the coordinates of your drawing correspond to the coordinates in FontLab Studio. Then, you need to set up your FontLab Studio or TypeTool to work optimally with Illustrator: 8. Preferences / General Options / EPS and bitmap background: Choose Keep size (1 EPS pt = 1 UPM unit)9. Preferences / FontAudit / Optimize: set your desired settings that will control FontLab Studio's curve optimization (simplification) algorithm. Once this is done, draw your shapes in Illustrator. 10. Remember that the size of your Illustrator drawing in points (pt) will correspond to the size of the glyph in UPM font units. Typically, the flat lowercase letters such as "H" are around 700 UPM units tall, so they should be around 700 pt tall in Illustrator. If you've made a drawing of different size, rescale it in Illustrator. Remember that Illustrator allows fractional point coordinates so scaling up and down will not affect your curves. FontLab Studio on the other hand always snaps point to the UPM grid, so scaling the glyph in FontLab Studio down and then up again will result in rounding differences! 11. If you used any of the "modern" Illustrator drawing tools such as the stroke widths or the Width Tool, after you've finished, select your drawing and choose Object / Expand Appearance. 12. If you're unhappy with the number of outline points Illustrator has produced, choose Object / Path / Simplify. Enable Preview and choose the Curve Precision value somewhere between 70 and 95%. Observe the preview to determine your desired setting, and click OK. 13. Select your drawing in Illustrator. 14. Choose Edit / Copy. Now it is time to move to FontLab Studio or TypeTool. 15. Switch to FontLab Studio and open the glyph cell where you want your drawing pasted. 16. Choose Edit / Paste. Your drawing should appear in FontLab Studio's glyph window. 17. To further clean up the shape and move the outline points to the extrema, choose Contour / Optimize. If you only want to add points at extrema, choose Contour / Nodes at Extremes. 18. Your glyph is now in FontLab Studio. Set the sidebearings as intended and repeat the steps 10â18 with more glyphs.
Thomas Phinney at Quora Visit the source
Other answers
You will have to import the data in the .ai file into a font editor that can export TrueType. I am a long-time Fontlab user but there are other font editors available with the ability to make and manipulate TrueType font data.
James Montalbano
Unfortunately this is more than an "Export asâ¦" process. Creating a digital typeface is a whole craft by itself. Check out http://www.robofont.comand see if you can take a class. I am teaching at the http://www.coopertype.org program in NY.
Hannes F. Famira
The simplest way to transform a vector .ai file to a .ttf (or even better .otf font) is to hire a type designer to doit for you. He will use an application for font-designing such as Font Lab Studio 5 or Glyphs to prepare your font. Illustrator is great for manipulating vectors but a specific font-making software allows you also to do more fine adjustment on lines and nodes. You will be able to easily see and remove unnecessary nodes, keep certain curves consistent, adjust kerning, make different font-weights, test, compare and do measurements. You know,... there's plenty of work before you end up with a well made font. I began working on a typeface (name Qu) some time ago in illustrator and now I just finished making a demo version of the font. You can check it out here. http://mariusnedelcu.com/qu-a-typographic-font/ If you like what you see follow me on twitter. (and DM to request the font)
Marius Nedelcu
Related Q & A:
- How do I convert a PDF file to PDF/A in Delphi?Best solution by softwarerecs.stackexchange.com
- How do I send a message from yahoo to a cell phone?Best solution by Yahoo! Answers
- Can I turn a DVD Video file into a Regular Video file?Best solution by wikihow.com
- How can I attach more than one file at a time in Yahoo mail?Best solution by pc.net
- If I have a subscription to Seventeen and I'm moving out, how do I tell them my address has changed?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.