[aXSL-commit] SF.net SVN: axsl: [452] trunk/axsl/axsl-font/src/java/org/axsl/font/Font.java
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-03-26 17:53:57
|
Revision: 452 Author: victormote Date: 2006-03-26 09:53:48 -0800 (Sun, 26 Mar 2006) ViewCVS: http://svn.sourceforge.net/axsl/?rev=452&view=rev Log Message: ----------- Add new methods suggested by Vincent Hennebert. Modified Paths: -------------- trunk/axsl/axsl-font/src/java/org/axsl/font/Font.java Modified: trunk/axsl/axsl-font/src/java/org/axsl/font/Font.java =================================================================== --- trunk/axsl/axsl-font/src/java/org/axsl/font/Font.java 2006-03-26 17:00:19 UTC (rev 451) +++ trunk/axsl/axsl-font/src/java/org/axsl/font/Font.java 2006-03-26 17:53:48 UTC (rev 452) @@ -263,8 +263,35 @@ public boolean usableInPostScriptOutput() ; /** + * Returns this font's font-family name. + * For example, a font named "Bitstream Charter Italic" in font-family + * "Bitstream Charter", with PostScript name "CharterBT-Italic", should + * return "Bitstream Charter". + * @return This font's font-family name. + * @see #getFontName() + * @see #getPostscriptName() + */ + public String getFamilyName() ; + + /** + * Returns this font's name. + * For example, a font named "Bitstream Charter Italic" in font-family + * "Bitstream Charter", with PostScript name "CharterBT-Italic", should + * return "Bitstream Charter Italic". + * @return This font's name. + * @see #getFamilyName() + * @see #getPostscriptName() + */ + public String getFontName() ; + + /** * Returns the PostScript name of the font. + * For example, a font named "Bitstream Charter Italic" in font-family + * "Bitstream Charter", with PostScript name "CharterBT-Italic", should + * return "CharterBT-Italic". * @return The PostScript name of the font. + * @see #getFamilyName() + * @see #getFontName() */ public String getPostscriptName() ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |