Finding a Font to Support a Unicode Block (X11)
Michael Rohan
mrohan at stonepillar.com
Tue Sep 30 16:04:35 UTC 2008
Hi,
Thank you, this looks like it might be what I'm looking for.
Take care,
Michael.
On Tue, Sep 30, 2008 at 12:38 AM, Matthew Flaschen <
matthew.flaschen at gatech.edu> wrote:
> Michael Rohan wrote:
> > Hi Folks,
> >
> > Just posted this to comp.fonts, but figured I should try here also.
> >
> > Not sure if this is the correct group, but I have code that generated
> > Unicode strings displayed via Java on X Windows. The strings include
> > characters from the Enclosed Alphanumerics Unicode block.
>
> Font-config can do this, though its documentation, API, and command-line
> interface are all rather inscrutable. I wrote a program that can take
> any character as input and give you the filename of a font with it.
>
> Just put the two files anywhere, then:
>
> make
> ./CharSearch $B-!(B
>
> I.e. put the character you're looking for as the first and only
> argument. Only tested with en_US.UTF-8 as LANG environment variable.
>
> Matt Flaschen
>
> CC=gcc
> CFLAGS=--std=c99 -I /usr/include -I /usr/include/fontconfig -L /usr/lib/ -l
> fontconfig
> OBJ=CharSearch
>
> CharSearch: CharSearch.c
> ${CC} ${CFLAGS} CharSearch.c -o ${OBJ}
>
> clean:
> rm ${OBJ}
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080930/1084a0da/attachment-0001.htm>
More information about the fedora-list
mailing list