LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2011, 01:13 PM   #1
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,276

Rep: Reputation: 229Reputation: 229Reputation: 229
FontForge: how to join glyph elements into an object?


I use FontForge for two days so Iím beginner. Now I have some glyph built from splines, lines, points and paths. When I select it I can see all those elements. My goal is to join all elements of that glyph into one object. After selecting such single object it appears inside a rectangle frame as one complicated path. I donít know the proper name of such operation. Joining? Combining? Merging? Grouping? I inspected FontForge menus, FontForge manual and a bunch of Internet sites but I didnít find any helpful information. Iím sure itís trivial operation but I canít find it. So my question is: how to join glyph elements into an object in FontForge?
 
Old 01-23-2011, 02:16 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
This sounds like it's what you are looking for:
http://fontforge.sourceforge.net/charinfo.html
Quoting from that link:
Quote:
The [] Mark for Unlink, Remove Overlap Before Save checkbox sounds absurdly complicated. Consider the glyphs Aring, Ccedilla, and Oogonek. In traditional design the accent of each of these glyphs will overlap the base letter. Unfortunately neither TrueType nor PostScript allows contours to intersect. You can solve this problem by unlinking the references that make up the glyph and then running Element->Remove Overlap. But that has problems of its own... now when you change the base letter (or the accent) the change will no longer be reflected in the composite glyph. This little checkbox neatly solves that problem. If the glyph is composed of references which overlap, and you wish to retain the references, but you wish it to be output without an overlap, simply check this box. Then when it comes time to save the font, ff will perform the unlink and then run remove overlap, save the font, and then restore the glyph to its original condition.
You'll have to try it out to see if it gives the results you want.
 
Old 01-23-2011, 03:22 PM   #3
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,276

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
I found the opposite option to the one I search for. It’s Edit | Unlink Reference. It converts selected object to an element built from splines, lines, points and paths. It seems the opposite option to the above one is in main FontForge window. It’s Edit | Replace with Reference. Unfortunately I can’t force that option to work.

As for Element | Glyph Info | Unicode | Mark for Unlink option it doesn’t produce the result I need (or I use it in a wrong way).
 
Old 01-23-2011, 03:32 PM   #4
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,276

Original Poster
Rep: Reputation: 229Reputation: 229Reputation: 229
It was easy task in fact. To use Edit | Replace with Reference option is enough to select all characters in main FontForge window. That option replaces all identical glyphs built form splines, lines, points and paths with compound objects. Problem solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] fontforge slackbuild scripts and files darksaurian Slackware 3 06-09-2010 03:22 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 02:52 PM
FontForge libraries...any help please? Dion-Bridger Linux - Newbie 1 07-06-2006 07:06 PM
LXer: Device Profile: Glyph/MGI GPM-216 personal monitor LXer Syndicated Linux News 0 04-27-2006 05:33 PM
Event driven object-to-object: C++ template class mecanism ( NOT STL or STDC++) bretzeltux Programming 2 12-23-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration