[links] Chinese font support?
Karel Kulhavy
clock at twibright.com
Wed Apr 11 21:14:58 MDT 2007
On Thu, Apr 12, 2007 at 09:32:16AM +0800, Harry Lin D332 (?????q) wrote:
> Thank you for your answer,
> I have read that paragraph about adding fonts from ghostscript
> It only mentioned how to add a font in format *.pfb, *.afm, *.pfa,
> Does ghostscript support a font in format *.ttf, too?
Not that I would know.
>
> And I have another question,
> A Chinese font contains more than ten thousand characters,
> After converting it to png images, it will generate a big amount of files,
> And will all those files be compiled into the links browser?
Yes.
> Won't this make the browser binary file too big and cost a lot of memory when
> running links?
No - the binary should be mapped read-only, i. e. swapping out of memory
can be done in zero time (just delete the page) as opposed to swapping data
where a page has to be first written to the disk.
It's an equivalent of mapping the font data using mmap.
CL<
>
> -----Original Message-----
> From: links-list-bounces at linuxfromscratch.org [mailto:links-list-bounces at linuxfromscratch.org] On Behalf Of Karel Kulhavy
> Sent: Wednesday, April 11, 2007 7:42 PM
> To: Links WWW browser mailing list
> Subject: Re: [links] Chinese font support?
>
> On Wed, Apr 11, 2007 at 05:41:39PM +0800, Harry Lin D332 (?????q) wrote:
> > Hi,
> >
> > Does Links support for Chinese font now?
>
> No only Japanese I think.
>
> >
> > In the previous discussion,
> >
> > Someone mentioned to create the Chinese characters to png files
> >
> > But it is difficult to realize
> >
> > Is there any other method?
>
> It has to be in PNG. But you can create using some scripts from Ghostscript.
> It's described here:
> http://links.twibright.com/doc/links_doc_en.html
>
> Only the font part was translated into English, ignore the rest in Czech.
>
> CL<
> >
> > Thanks!
> > _______________________________________________
> > links-list mailing list
> > links-list at linuxfromscratch.org
> > http://linuxfromscratch.org/mailman/listinfo/links-list
> _______________________________________________
> links-list mailing list
> links-list at linuxfromscratch.org
> http://linuxfromscratch.org/mailman/listinfo/links-list
>
> _______________________________________________
> links-list mailing list
> links-list at linuxfromscratch.org
> http://linuxfromscratch.org/mailman/listinfo/links-list
More information about the links-list
mailing list