Friday 27 June 2008

Installing mathematical fonts

THERE HAS GOT TO BE A MORE CONVIENIENT WAY TO GET MATHEMATICAL/
FULL UNICODE FONT SET
, please post if you have better information

Getting mathematical fonts on Linux

There may be mathematical truetype fonts already on your system
or available through you packaging system.
I searched the internet for them.

http://www.mozilla.org/projects/mathml/fonts/
points to a STIX Fonts Project beta font download
http://www.mozilla.org/projects/mathml/fonts/stix/STIXBeta.zip

download and extract these fonts they are *.otf they can
be converted to *.ttf as described here:

http://www.stuermer.ch/blog/convert-otf-to-ttf-font-on-ubuntu.html

the ttf fonts can be installed in Linux and installed in the
fallback directory (which may need to be created)
jdk1.5.0_06jre/lib/fonts/fallback

I tried the raw *.otf and it did not work so the conversion
to ttf may well be necessary.

I copied to /usr/share/fonts/truetype

Then I did
xset fp rehash
and could use the fonts but they may have been already installed.

Testcase (supplied by customer):

create table test ( testcol VARCHAR2(10));

insert into test values (unistr('\D835\DCAB'));

then view the table in SQLDeveloper.

Please comment if you have any problem/improvements.

2 comments:

Charles Schultz said...

I know Blogger has some real problems posting nice/pretty text; can you repost such that we can see all of what you wrote? =)

Turloch O'Tierney said...

Installing mathematical fonts
THERE HAS GOT TO BE A MORE CONVIENIENT
WAY TO GET MATHEMATICAL/
FULL UNICODE FONT SET , please post if
you have better information


Getting mathematical fonts on Linux

There may be mathematical truetype fonts
already on your system
or available through you packaging system.
I searched the internet for them.

http://www.mozilla.org/projects/mathml
/fonts/
points to a STIX Fonts Project beta
font download
http://www.mozilla.org/projects/mathml
/fonts/stix/STIXBeta.zip

download and extract these fonts they
are *.otf they can
be converted to *.ttf as described here:

http://www.stuermer.ch/blog/convert-otf-
to-ttf-font-on-ubuntu.html

the ttf fonts can be installed in Linux
and installed in the
fallback directory (which may need to
be created)
jdk1.5.0_06jre/lib/fonts/fallback

I tried the raw *.otf and it did not
work so the conversion
to ttf may well be necessary.

I copied to /usr/share/fonts/truetype

Then I did
xset fp rehash
and could use the fonts but they may
have been already installed.

Testcase (supplied by customer):

create table test ( testcol VARCHAR2(10));

insert into test values
(unistr('\D835\DCAB'));

then view the table in SQLDeveloper.

Please comment if you have
any problem/improvements.