Subject:
|
Re: LPub DPI control?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Thu, 6 Mar 2008 04:35:06 GMT
|
Viewed:
|
8023 times
|
| |
| |
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
|
|
Message has 1 Reply: | | Re: LPub DPI control?
|
| (...) 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 (17 years ago, 6-Mar-08, to lugnet.cad.dev, FTX)
|
Message is in Reply To:
| | Re: LPub DPI control?
|
| (...) Most of this feature is done. I had to identify every LPub meta-command that had something with the units of pixels, and treat them as a new class of "units", meaning known absolute distances (i.e. meters or inches.) Every time these values (...) (17 years ago, 5-Mar-08, to lugnet.cad.dev)
|
81 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|