To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10714
10713  |  10715
Subject: 
Re: LPub DPI control?
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 6 Mar 2008 16:06:07 GMT
Viewed: 
7795 times
  
In lugnet.cad.dev, Ross Crawford wrote:
   In lugnet.cad.dev, Kevin L. Clague wrote:
  
The only issue left is fonts. I have to figure out how to express fonts in real world units and how to map that to points or whatever. Time to learn more new stuff. If anyone is knows much about this topic let me know.

Scalable fonts would probably be best to use (if they can be found).

I learnt a fair bit fiddling with Freetype in txt2dat, which has to translate point size to ldraw units. Freetype makes it pretty easy, as it gives you a nice API that works for lots of scalable fonts. I chose not to support non-scalable fonts in txt2dat, so not sure how hard they are to use.

ROSCO

Hi Rosco, I’m going to make my font dialog, and default font picker only work with scalable fonts. They are perfect for this kind of situation. I guess that is why they were created by Adobe a long time ago (I read the Wiki!)

Thanks, Kevin



Message is in Reply To:
  Re: LPub DPI control?
 
(...) I learnt a fair bit fiddling with (URL) Freetype> in (URL) txt2dat>, which has to translate point size to ldraw units. Freetype makes it pretty easy, as it gives you a nice API that works for lots of scalable fonts. I chose not to support (...) (17 years ago, 6-Mar-08, to lugnet.cad.dev, FTX)

81 Messages in This Thread:




















Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR