|
Sample Code 268: How to display math and greek characters using symbol font - Part 1? |
| Written by kksou | ||||||
| Tuesday, 19 June 2007 | ||||||
|
Problem This is in response to pbm's post titled "Symbol font in PHP-GTK2" Suppose you want to display math or greek characters on windows platform as shown below:
Solution On windows, if you have tried displaying math or greek characters using Symbol font, you will get the error message The main reason is that Pango works only on unicode, but the standard Symbol font on windows does not have a unicode character mapping. So to display math and greek characters on windows platform, all you need is to find some symbol-equivalent truetype font that supports unicode. Below are some pointers that may save you some time:
$dpkg-deb -x {deb-package name} {target directory}Of course the above works only from linux. I'm not too sure if there's any unzip utility that can extract .deb archive on windows. Sample Code
Explanation
Note
There are also some additional unicode math fonts available here: http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html Related Links
User reviews Average user ratings: 0.0 (from 1 user)Note: You have to be a registered member to leave a comment. Free registration here. |
||||||
| < Prev | Next > |
|---|







0.0 (from 1 user)
June 18, 2007 7:42pm
very very useful. PHP-GTK2 has a bright future for science apps....