How to display font?

How to display font?

Post by Moya » Sat, 18 Dec 1999 04:00:00



   Hi!

        I am trying to write a program to display text by using svgalib.
        I want to display English font first. And then support Chinese
        font (Big-5 code).
        Is there any example? or any information about that?!
        Appreciate your help....

                                                                   Moya

 
 
 

How to display font?

Post by Juergen Hein » Sat, 18 Dec 1999 04:00:00



>   Hi!

>    I am trying to write a program to display text by using svgalib.
>    I want to display English font first. And then support Chinese
>    font (Big-5 code).
>    Is there any example? or any information about that?!
>    Appreciate your help....

I know of X applications only, one of it is xfd. If it comes to
applications, Motif can handle that out of the box, X of course
and there are several apps like eterm. Currently looking into
that although a lot of documentation, X and Motif aside, is in,
well ... not English, that is 8-}

Gnome and KDE ... no idea.

Ta,
Juergen

--
\ Real name     : Jrgen Heinzl                 \       no flames      /


 
 
 

How to display font?

Post by Matan Ziv-A » Sat, 18 Dec 1999 04:00:00



Quote:>    I am trying to write a program to display text by using svgalib.
>    I want to display English font first. And then support Chinese
>    font (Big-5 code).
>    Is there any example? or any information about that?!
>    Appreciate your help....

I adapted freetype test progrmas to display on svgalib. You can use that
as an example, and then use any truetype font you have.

The programs are at http://www.cs.bgu.ac.il/~zivav

--

 
 
 

1. Displaying fonts from a directory.

Hello,

I have been looking for a means of displaying fonts by specifying the
names of the files that contain the description of the font rather than
using these rather complicated font names (*-*-*...*-* format) . Does
this make any sense..? One reason I was hoping I could do this is that I
have successfully (at least to a point..) added the microsoft .ttf fonts
that come with Win98 to my X font server's path and I have access to
some very common ones such as tahoma, verdana, trebuchet.. etc.. but at
the same time, there appears to be many .ttf files in the Windows font
directory that do not have corresponding tt fonts accessible via xfd,
xfontsel or any application running under X..  Most of these files
appear to have names that suggest well-known fonts but I can't seem to
find them anywhere.. I issue an [ xfd -fn "*playbill* ] .. or an  [ xfd
-fn "*vivaldi*" ] .. & I end up displaying the namesakes from the urw
foundry.. although I made sure that the catalog in the
/etc/X11/fs/config file specifies the microsoft ttf directory before any
others..

Also, is there a "modern-age" GUI type of utility that handles the
display of fonts in a really flexible & user-friendly manner..? I
noticed that there appear to be several applications such as Gimp..
Wmakerconf.. etc.. that use the same GTK-type add-on to display & choose
amongst the fonts known to the font server but I have been unable to
locate the corresponding stand-alone application. If none exist I was
thinking that a word-processor type of application providing a flexible
font chooser might be a good place where I could explore and experiment
(?)..

Sorry for vagueness but I find this business of fonts in the X
environment rather confusing. The ultimate goal is really exploration &
having some idea of what's available on my machine... and how "usable"
each & every different font is on-screen in different contexts & at
different sizes... Lastly.. and though this may be a different issue
altogether.. how the font(s) will eventually materialize on the printed
page..

Thanks,
gavron

2. Wine

3. Display fonts in Corel WordPerfect ...

4. MCI netdevice drivers

5. SisSG86C205 Does Not Display Fonts

6. SLIP for solaris 2.+?

7. How can I improve display fonts?

8. help compiling pgp2.2 on sco

9. display fonts

10. Display/font problems on laptop

11. "X -window doesn't display fonts in redhat linux 6.1"

12. displaying fonts in X

13. gnome/gtk not displaying fonts in menus etc.