×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PCLETTO to TTF?

PCLETTO to TTF?

PCLETTO to TTF?

(OP)
Hi,

I am in the process of converting a PCLETTO to TTF.

I have the following data in hand fom PCLETTO:

head     Font header (in PCL GT segment)
hhea     Horizontal header (in PCL GT segment)
hmtx     Horizontal metrics (in PCL GT segment)
maxp     Maximum profile (in PCL GT segment

cvt     Control Value Table (in PCL GT segment but only required for hinted fonts only, may not be found in ttf)
fpgm     Font program (in PCL GT segment but only required for hinted fonts only, may not be found in ttf)
glyf     Glyph data (in PCL char definitions)
loca     Index to location (in PCL char definitions)
prep     CVT Program (in PCL GT segment but only required for hinted fonts only, may not be found in ttf)


According to Microsoft OpenType documentation:
cmap,OS/2 and post table is also required. cmap can be figured out to some extent. But i am curious about post & OS/2.
Whether any other tables are required? Or Will it work if i build the mentioned tables for TTF.


--Note: This post is related to a design decision before actual implementation. I am wondering that PCLETTO to TTF might not be actually possibly. But it would be a great learning experience if its discussed here and a proper solution can be figured out.---


 

RE: PCLETTO to TTF?

>>  I am wondering that PCLETTO to TTF might not be actually possibly
 
If it is possible, I suspect that it will be quite dfifficult to fill in some of the date that is not present in the PCLETTO sof t font, but that IS required in the 'missing' tables.
And I think that you probably need the 'name' table as well as the 'post ' and OS/2' tables.
 
 
>> cmap can be figured out to some extent
 
True; but if your PCLETTO is a 'bound' font (as is quite likely), then you will only be able to reconstruct the parts related to the subset of characters contained in the soft font.
 
 
You  may be able to get some more advanced advice from the forum run by the company that produces the
'FontCreator' and 'MainType' applications - go to http://forum.high-logic.com/ and pose the question there.
I suspect that the contributors won't know a great deal about PCLETTO, but you should be able to get good advice on the TrueType aspects.

RE: PCLETTO to TTF?

The latest printer drivers generate unbound PCLETTO fonts.  And, they only download the characters that are being used in the document being printed.  

Most drivers only use a subset of the available character cells in a single-byte character set.  And, when they run out of character cells, they redundantly download the same characters and assign them to the next temporary download font character cell.  So, in a 100 page file - you might have capital "A" 20 times.

And, the fonts are incrementally downloaded in batchs of cells and not in one continguous font.

So, the big question is "Why do you need to convert a PCLETTO font that is generated from a TrueType font back into a Truetype font?".  The only reasons I can think of is to create a PCL5e/PCL XL interpreter or to capture a TrueType font from a system that you don't have access to?  There are already 10+ commercial quality PCL intepreters on the market and another 300+ interpreters looking for this type of conversion to make them compatible with PCL5e/PCL XL printer driver-generated files.  

In my opinion this is definately a "Buy", rather than "Build" solution.  You're looking at 300+ hrs. of intermediate to senior software engineering time before you arrive at a viable solution.  And, I that's highly dependent on the relevancy and size of your suite of PCL5e/6 test files.  

We've been converting PCLETTO to TTF for many years.  And, HP's new Universal Printer Drivers in Vista, Win7 and beyond generate these fonts in new ways that have caused us to adapt our product to them.  It's a moving target.

 

RE: PCLETTO to TTF?

>> It's a moving target

That's a very compelling reason to go for the "Buy" rather than "Build" option.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close