how to render math symbols in java - sa@osu home.pdf
How to Render Mathematical Symbols in Java Yuemei Sun Master of Science Degree Project Department puter Science Oregon State University Corvallis, Oregon Committee Member: Dr. Jonathan Herlocker Dr. Bella Bose Dr. Eric Mortensen March 2003 Acknowledgements I would like to thank my major advisor Dr. Jonathan Herlocker for his guidance and encouragement. I greatly appreciate mittee members, Dr. Bella Bose and Dr. Eric Mortensen, for their time and advice on my project report. I would also like to acknowledge Anton N. Dragunov, a PhD student in the Department puter Science at Oregon State University, who improved and integrated my code into our bigger project. I am very grateful to my husband Kaichang Li for his love and wholehearted support. I thank my family and friends in China for their love and encouragement. I would like to thank all the people that gave me support during my study at OSU. Table of Contents Acknowledgements Abstract and Keywords ………………………………………….…………………….. 2 Introduction ………………………………………………………………………………3 Basic Terminology ……………………………………………………………………….5 Part I: Choosing a Java Font Approach ……………………………………………… 7 Java Fonts Background………………………………………………………….. 8 Our Criteria………………………………………………………………………. 9 Excluding Approach 4: using bundled physical fonts………………………….. 10 Excluding Approach 3: using Lucida Fonts…………………………………….. 12 Approach 2: using physical font names………………………………………… 12 Excluding Approach 1: using logical font names………………………………. 13 Processing the file………………………………………………. 14 Part II: Additional Challenges – Font Related Problems ………………………….. 19 Why drawstring() did not work…………………………………………………..20 Scale a glyph……………………………………………………………………..23 Antialiasing and hinting….………………………………………………………26 Part III: Implementation ……………………………………………………………… 29 M
how to render math symbols in java - sa@osu home 来自淘豆网m.daumloan.com转载请标明出处.