Java Doc for LinuxFont.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » awt » gl » font » 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 » Apache Harmony Java SE » org package » org.apache.harmony.awt.gl.font 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.awt.gl.font.FontPeerImpl
      org.apache.harmony.awt.gl.font.LinuxFont

LinuxFont
public class LinuxFont extends FontPeerImpl (Code)
Linux platform font peer implementation based on Xft and FreeType libraries.



Constructor Summary
public  LinuxFont(String fontName, int fontStyle, int fontSize)
    

Method Summary
public  booleanaddGlyph(char uChar)
     Add glyph to cached Glyph objects in this LinuxFont object.
public  voidaddGlyphs(char uFirst, char uLast)
    
public  booleancanDisplay(char chr)
    
public  voiddispose()
     Disposes native font handle.
public static  FontembedFont(String absolutePath)
    
public  GlyphgetDefaultGlyph()
    
public  FontExtraMetricsgetExtraMetrics()
     Returns initiated FontExtraMetrics instance of this WindowsFont.
public  StringgetFamily(Locale l)
    
public  StringgetFamily()
    
public  longgetFontHandle(boolean isAntialiased)
     Returns native font handle of this font peer.
public  StringgetFontName(Locale l)
    
public  StringgetFontName()
    
public  GlyphgetGlyph(char index)
    
public  LineMetricsgetLineMetrics(String str, FontRenderContext frc, AffineTransform at)
    
public  intgetMissingGlyphCode()
    
public  StringgetPSName()
    
public  int[]getUnicodeRanges()
     Returns an array of unicode ranges that are supported by this LinuxFont.
public  voidinitLinuxFont()
     Initializes some native dependent font information, e.g.
public  booleanisGlyphExists(char uIndex)
     Returns true if specified character has corresopnding glyph, false otherwise.


Constructor Detail
LinuxFont
public LinuxFont(String fontName, int fontStyle, int fontSize)(Code)




Method Detail
addGlyph
public boolean addGlyph(char uChar)(Code)
Add glyph to cached Glyph objects in this LinuxFont object.
Parameters:
  uChar - the specified character true if glyph of the specified character exists in thisLinuxFont or this character is escape sequence character.



addGlyphs
public void addGlyphs(char uFirst, char uLast)(Code)
Adds range of existing glyphs to this LinuxFont object
Parameters:
  uFirst - the lowest range's bound, inclusive
Parameters:
  uLast - the highest range's bound, exclusive



canDisplay
public boolean canDisplay(char chr)(Code)



dispose
public void dispose()(Code)
Disposes native font handle. If this font peer was created from InputStream temporary created font resource file is deleted.



embedFont
public static Font embedFont(String absolutePath) throws IOException(Code)
Return Font object if it was successfully embedded in System



getDefaultGlyph
public Glyph getDefaultGlyph()(Code)



getExtraMetrics
public FontExtraMetrics getExtraMetrics()(Code)
Returns initiated FontExtraMetrics instance of this WindowsFont.



getFamily
public String getFamily(Locale l)(Code)



getFamily
public String getFamily()(Code)



getFontHandle
public long getFontHandle(boolean isAntialiased)(Code)
Returns native font handle of this font peer.



getFontName
public String getFontName(Locale l)(Code)



getFontName
public String getFontName()(Code)



getGlyph
public Glyph getGlyph(char index)(Code)



getLineMetrics
public LineMetrics getLineMetrics(String str, FontRenderContext frc, AffineTransform at)(Code)



getMissingGlyphCode
public int getMissingGlyphCode()(Code)



getPSName
public String getPSName()(Code)



getUnicodeRanges
public int[] getUnicodeRanges()(Code)
Returns an array of unicode ranges that are supported by this LinuxFont.



initLinuxFont
public void initLinuxFont()(Code)
Initializes some native dependent font information, e.g. number of glyphs, font metrics, italic angle etc.



isGlyphExists
public boolean isGlyphExists(char uIndex)(Code)
Returns true if specified character has corresopnding glyph, false otherwise.
Parameters:
  uIndex - specified char



Fields inherited from org.apache.harmony.awt.gl.font.FontPeerImpl
int ascent(Code)(Java Doc)
public char defaultChar(Code)(Java Doc)
int descent(Code)(Java Doc)
FontExtraMetrics extraMetrix(Code)(Java Doc)
String faceName(Code)(Java Doc)
String fontFamilyName(Code)(Java Doc)
int fontType(Code)(Java Doc)
float height(Code)(Java Doc)
float italicAngle(Code)(Java Doc)
int leading(Code)(Java Doc)
int logicalHeight(Code)(Java Doc)
int maxAdvance(Code)(Java Doc)
protected Rectangle2D maxCharBounds(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected LineMetricsImpl nlm(Code)(Java Doc)
int numGlyphs(Code)(Java Doc)
protected long pFont(Code)(Java Doc)
protected String psName(Code)(Java Doc)
protected int size(Code)(Java Doc)
protected int style(Code)(Java Doc)
boolean uniformLM(Code)(Java Doc)

Methods inherited from org.apache.harmony.awt.gl.font.FontPeerImpl
abstract public boolean canDisplay(char c)(Code)(Java Doc)
public int charWidth(char ch)(Code)(Java Doc)
public int charWidth(int ind)(Code)(Java Doc)
abstract public void dispose()(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
public int getAscent()(Code)(Java Doc)
abstract public Glyph getDefaultGlyph()(Code)(Java Doc)
public int getDescent()(Code)(Java Doc)
abstract public FontExtraMetrics getExtraMetrics()(Code)(Java Doc)
public String getFamily(Locale l)(Code)(Java Doc)
public String getFamily()(Code)(Java Doc)
public long getFontHandle()(Code)(Java Doc)
public String getFontName(Locale l)(Code)(Java Doc)
public String getFontName()(Code)(Java Doc)
public int getFontType()(Code)(Java Doc)
abstract public Glyph getGlyph(char ch)(Code)(Java Doc)
public Glyph[] getGlyphs(char uFirst, char uLast)(Code)(Java Doc)
public Glyph[] getGlyphs(char[] chars)(Code)(Java Doc)
public Glyph[] getGlyphs(String str)(Code)(Java Doc)
public float getHeight()(Code)(Java Doc)
public float getItalicAngle()(Code)(Java Doc)
public int getLeading()(Code)(Java Doc)
abstract public LineMetrics getLineMetrics(String str, FontRenderContext frc, AffineTransform at)(Code)(Java Doc)
public LineMetrics getLineMetrics()(Code)(Java Doc)
public int getLogicalHeight()(Code)(Java Doc)
public Rectangle2D getMaxCharBounds(FontRenderContext frc)(Code)(Java Doc)
abstract public int getMissingGlyphCode()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int getNumGlyphs()(Code)(Java Doc)
abstract public String getPSName()(Code)(Java Doc)
public int getSize()(Code)(Java Doc)
public int getStyle()(Code)(Java Doc)
public String getTempFontFileName()(Code)(Java Doc)
public char getUnicodeByIndex(int glyphCode)(Code)(Java Doc)
public boolean hasUniformLineMetrics()(Code)(Java Doc)
public boolean isCreatedFromStream()(Code)(Java Doc)
public void setCreatedFromStream(boolean value)(Code)(Java Doc)
public void setFamily(String familyName)(Code)(Java Doc)
public void setFontFileName(String value)(Code)(Java Doc)
public void setFontName(String fontName)(Code)(Java Doc)
public void setFontType(int newType)(Code)(Java Doc)
public void setLogicalHeight(int newHeight)(Code)(Java Doc)
public void setPSName(String name)(Code)(Java Doc)

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.