Java Doc for AFM.java in  » PDF » jPod » de » intarsys » font » afm » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » PDF » jPod » de.intarsys.font.afm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.intarsys.font.afm.AFM

AFM
public class AFM implements IFont(Code)
A simple implementation for an adobe font metric object.

This implementation will hold all afm attributes in a generic collection. The char metrics are read explicitly and held in a list of AFMChar's. No other information (like kerning) is extracted.

See the "Adobe Font Metrics File Format Specification"



Field Summary
final public static  StringFN_COURIER
    
final public static  StringFN_COURIER_BOLD
    
final public static  StringFN_COURIER_BOLDOBLIQUE
    
final public static  StringFN_COURIER_OBLIQUE
    
final public static  StringFN_HELVETICA
    
final public static  StringFN_HELVETICA_BOLD
    
final public static  StringFN_HELVETICA_BOLDOBLIQUE
    
final public static  StringFN_HELVETICA_OBLIQUE
    
final public static  StringFN_SYMBOL
    
final public static  StringFN_TIMES
    
final public static  StringFN_TIMES_BOLD
    
final public static  StringFN_TIMES_BOLDITALIC
    
final public static  StringFN_TIMES_ITALIC
    
final public static  StringFN_ZAPFDINGBATS
    

Constructor Summary
public  AFM()
     BuiltInAFM constructor comment.

Method Summary
protected  voidaddChar(AFMChar c)
    
public  StringgetAttribute(String name)
     The string value for a generic attribute designated by name.
Parameters:
  name - The name of the attribute to lookup.
protected  java.util.MapgetAttributes()
    
public  AFMChargetCharByCode(int codePoint)
     The character representation for a byte code point given in codePoint.
Parameters:
  codePoint - The byte code point.
public  AFMChargetCharByName(String name)
     The character representation for an adobe glyph name given in name.
Parameters:
  name - The adobe glyph name.
protected  java.util.HashMapgetCharsByCode()
    
protected  java.util.HashMapgetCharsByName()
    
public static  StringgetFontFamilyName(String name)
    
public  StringgetFontFamilyName()
    
public  StringgetFontName()
    
public static  FontStylegetFontStyle(String name)
    
public  FontStylegetFontStyle()
    
protected  voidsetAttribute(String name, String value)
     Set a generic attribute value.
protected  voidsetAttributes(java.util.Map newAttributes)
    

Field Detail
FN_COURIER
final public static String FN_COURIER(Code)



FN_COURIER_BOLD
final public static String FN_COURIER_BOLD(Code)



FN_COURIER_BOLDOBLIQUE
final public static String FN_COURIER_BOLDOBLIQUE(Code)



FN_COURIER_OBLIQUE
final public static String FN_COURIER_OBLIQUE(Code)



FN_HELVETICA
final public static String FN_HELVETICA(Code)



FN_HELVETICA_BOLD
final public static String FN_HELVETICA_BOLD(Code)



FN_HELVETICA_BOLDOBLIQUE
final public static String FN_HELVETICA_BOLDOBLIQUE(Code)



FN_HELVETICA_OBLIQUE
final public static String FN_HELVETICA_OBLIQUE(Code)



FN_SYMBOL
final public static String FN_SYMBOL(Code)



FN_TIMES
final public static String FN_TIMES(Code)



FN_TIMES_BOLD
final public static String FN_TIMES_BOLD(Code)



FN_TIMES_BOLDITALIC
final public static String FN_TIMES_BOLDITALIC(Code)



FN_TIMES_ITALIC
final public static String FN_TIMES_ITALIC(Code)



FN_ZAPFDINGBATS
final public static String FN_ZAPFDINGBATS(Code)




Constructor Detail
AFM
public AFM()(Code)
BuiltInAFM constructor comment.




Method Detail
addChar
protected void addChar(AFMChar c)(Code)



getAttribute
public String getAttribute(String name)(Code)
The string value for a generic attribute designated by name.
Parameters:
  name - The name of the attribute to lookup. The string value for a generic attribute designated byname.



getAttributes
protected java.util.Map getAttributes()(Code)



getCharByCode
public AFMChar getCharByCode(int codePoint)(Code)
The character representation for a byte code point given in codePoint.
Parameters:
  codePoint - The byte code point. The character representation for a byte code point given incodePoint.



getCharByName
public AFMChar getCharByName(String name)(Code)
The character representation for an adobe glyph name given in name.
Parameters:
  name - The adobe glyph name. The character representation for an adobe glyph name given inname.



getCharsByCode
protected java.util.HashMap getCharsByCode()(Code)



getCharsByName
protected java.util.HashMap getCharsByName()(Code)



getFontFamilyName
public static String getFontFamilyName(String name)(Code)



getFontFamilyName
public String getFontFamilyName()(Code)



getFontName
public String getFontName()(Code)



getFontStyle
public static FontStyle getFontStyle(String name)(Code)



getFontStyle
public FontStyle getFontStyle()(Code)



setAttribute
protected void setAttribute(String name, String value)(Code)
Set a generic attribute value. The attributes value is given in value, the name of the attribute is name.
Parameters:
  name - The name of the attribute.
Parameters:
  value - The value of the attribute.



setAttributes
protected void setAttributes(java.util.Map newAttributes)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.