* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 11:46 Skip Tavakkolian
0 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2002-09-19 11:46 UTC (permalink / raw)
To: 9fans
>> Can't find a writememsubfont(). Is it obvious?
>
> That's a tricky question. What's obvious to one person may be
> mysterious to another. But I think the implementation will be
> to take writesubfont and s/Subfont/Memsubfont/g.
Thanks. I was curious because other than this function there seemed
to be parity between Memimage and Image operations. Truth be told,
I'm a novice when it comes to graphics. the last graphics system I
attempted to understand and use was the 630. Interestingly, a Bush was
in the Whitehouse, Sadam was in Baghdad and the economy was bad.
>
> Don't forget that you still need to write the image; the writesubfont
> routine only writes the character width data. A subfont file comprises
> the width data followed by an image, written the usual way.
Manual says wirtesubfont() should be preceded by writeimage(). correct?
>
> Why do you need this?
Writing a BDF to Subfont converter.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-20 0:49 Skip Tavakkolian
0 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2002-09-20 0:49 UTC (permalink / raw)
To: 9fans
Thanks. I really should look at the code (the beauty of opensource).
This is the path I'm taking now.
How did I miss ttf2subf? Where do I get it?
> if you're just building subfonts to write to a file, you can fill in
> a Subfont instead of a Memsubfont and use writesubfont instead,
> since the latter doesn't need the draw subsystem (it just writes
> a representation to a file using write).
>
> that's what i did for my Freetype ttf2subf program.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 17:03 C H Forsyth
0 siblings, 0 replies; 7+ messages in thread
From: C H Forsyth @ 2002-09-19 17:03 UTC (permalink / raw)
To: 9fans
if you're just building subfonts to write to a file, you can fill in
a Subfont instead of a Memsubfont and use writesubfont instead,
since the latter doesn't need the draw subsystem (it just writes
a representation to a file using write).
that's what i did for my Freetype ttf2subf program.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 15:46 rob pike, esq.
0 siblings, 0 replies; 7+ messages in thread
From: rob pike, esq. @ 2002-09-19 15:46 UTC (permalink / raw)
To: 9fans
> Manual says wirtesubfont() should be preceded by writeimage(). correct?
Correct. The manual is more reliable than my memory.
-rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 11:46 Skip Tavakkolian
0 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2002-09-19 11:46 UTC (permalink / raw)
To: 9fans
>> Can't find a writememsubfont(). Is it obvious?
>
> That's a tricky question. What's obvious to one person may be
> mysterious to another. But I think the implementation will be
> to take writesubfont and s/Subfont/Memsubfont/g.
Thanks. I was curious because other than this function there seemed
to be parity between Memimage and Image operations. Truth be told,
I'm a novice when it comes to graphics. the last graphics system I
attempted to understand and use was the 630. Interestingly, a Bush was
in the Whitehouse, Sadam was in Baghdad and the economy was bad.
>
> Don't forget that you still need to write the image; the writesubfont
> routine only writes the character width data. A subfont file comprises
> the width data followed by an image, written the usual way.
Manual says wirtesubfont() should be preceded by writeimage(). correct?
>
> Why do you need this?
Writing a BDF to Subfont converter.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 9:59 rob pike, esq.
0 siblings, 0 replies; 7+ messages in thread
From: rob pike, esq. @ 2002-09-19 9:59 UTC (permalink / raw)
To: 9fans
> Can't find a writememsubfont(). Is it obvious?
That's a tricky question. What's obvious to one person may be
mysterious to another. But I think the implementation will be
to take writesubfont and s/Subfont/Memsubfont/g.
Don't forget that you still need to write the image; the writesubfont
routine only writes the character width data. A subfont file comprises
the width data followed by an image, written the usual way.
Why do you need this?
-rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* [9fans] How to writesubfont() for Memsubfont type?
@ 2002-09-19 3:46 Skip Tavakkolian
0 siblings, 0 replies; 7+ messages in thread
From: Skip Tavakkolian @ 2002-09-19 3:46 UTC (permalink / raw)
To: 9fans
Can't find a writememsubfont(). Is it obvious?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-09-20 0:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-19 11:46 [9fans] How to writesubfont() for Memsubfont type? Skip Tavakkolian
-- strict thread matches above, loose matches on Subject: below --
2002-09-20 0:49 Skip Tavakkolian
2002-09-19 17:03 C H Forsyth
2002-09-19 15:46 rob pike, esq.
2002-09-19 11:46 Skip Tavakkolian
2002-09-19 9:59 rob pike, esq.
2002-09-19 3:46 Skip Tavakkolian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).