Re: Fonts in Links (fwd)

Karel 'Clock' Kulhavý <[email protected]>
Newsgroups gmane.comp.web.links.list
Message-ID <[email protected]>
On Sat, Aug 16, 2003 at 11:20:38AM +0200, §ł§ä§â§Ń§ç§Ú?§ú§Ń §˛§Ń§Ő§Ú?§ű wrote:
> 
> How can I add the Serbian Cyrillic-specific characters to Links in 
> graphical mode? Previous duscussion with Mr. Patocka follows.

You have to make B&W PNG's approx. 120pixels high, with baseline in 5/24
(counted from bottom), letter white, background black, and add them to the
directory of your choice (graphics/font/something) where other PNG's are (or
make another in graphics/font) and then run generate_font in graphics/
directory and "make" in toplevel directory.

Two excerpts from internal development documentation in Czech:

"                                                                                
Přidávání fontů z tištěné předlohy                                              
                                                                                
   Pokud chceme přidat do prohlížeče unicode znaky, které jsou pro nás          
   důležité, ale nemáme od nich soubor čitelný Ghostscriptem, ale pouze         
   papírovou předlohu a scanner, stačí písmo nascannovat, nahrát do GIMPu,      
   invertovat, oříznout tak, aby účaří bylo na 5/24 výšky (počítáno odspoda),   
   vhodně stranově oříznout, pomocí image -> colors -> levels oříznout          
   zašuměné bílé a černé partie (bez změny gammy, předpokládáme, že scanner     
   jako většina scannerů generuje výstup s gammou 1.0) a uložit do souboru      
   ????.png, kde ???? je hexadecimální kód Unicode znaku.                       
"

"
  generate_font                                                                 
                                                                                
   Vezme soubory v adresáři font a vyrobí z nich soubor font_include.c, který   
   se přikompiluje do linkse a obsahuje interní strukturu obsahující font ve    
   formátu PNG. Tato data jsou tím pádem uložena ve spustitelném souboru        
   links a uživatel není obtěžován žádnými dodatečnými datovými adresáři,       
   čímž se silně zvyšuje přenositelnost celého systému (nebylo jasné, kam by    
   se měly tyto soubory umisťovat, neboť takováto místa vhodná pro umisťování   
   těchto souborů jsou silně závislá na konkrétním typu systému a vznikaly by   
   s tím jen problémy). Fonty se do systému přidávají tak, že se přidá do       
   adresáře font, pak se pustí generate_font a pak se překompiluje links        
   příkazem make.                                                               
"
> 
> Best regards,
> Strahinya Radich
> 
> On 2003.08.15 15:52 Mikulas Patocka wrote:
> > Hi.
> > 
> > You must png images of characters somwhere in graphics/font
> > subdirectory
> > and regenerate font_include.c.
> > 
> > Ask clock how to exactly do it, or ask him to do it.
> > 
> > Mikulas
> > 
> > ---------- Forwarded message ----------
> > Date: Fri, 15 Aug 2003 14:12:52 +0200
> > From: "[UTF-8] Страхиња Радић"
> > <[email protected]>
> > To: Mikulas Patocka <[email protected]>
> > Subject: Fonts in Links
> > 
> > Dear Mr. Patocka,
> > 
> > I have noticed that when I use Links in graphical mode (ie.: links
> > -driver x), not all the characters for Serbian Cyrillic are shown
> > correctly. The characters which exist both in Russian Cyrillic and
> > Serbian Cyrillic are shown fine, ie. Cyrillic_a, Cyrillic_be, etc.,
> > but
> > the ``explosion character'' is shown for the characters Serbian_lje,
> > Serbian_nje, etc. So, is there any possibility to include  the Serbian
> > Cyrillic characters in fonts with the next release of Links?
> > 
> > Best regards,
> > Strahinya Radich
_______________________________________________
Links-list mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/links-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.