[aXSL-commit] SF.net SVN: axsl:[2988] trunk/axsl/axsl-font/src/main /java/org/axsl/font/FontConsume
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-03-08 16:37:45
|
Revision: 2988
http://sourceforge.net/p/axsl/code/2988
Author: victormote
Date: 2026-03-08 16:37:43 +0000 (Sun, 08 Mar 2026)
Log Message:
-----------
Rename methods for clarity.
Modified Paths:
--------------
trunk/axsl/axsl-font/src/main/java/org/axsl/font/FontConsumer.java
Modified: trunk/axsl/axsl-font/src/main/java/org/axsl/font/FontConsumer.java
===================================================================
--- trunk/axsl/axsl-font/src/main/java/org/axsl/font/FontConsumer.java 2026-03-08 16:14:27 UTC (rev 2987)
+++ trunk/axsl/axsl-font/src/main/java/org/axsl/font/FontConsumer.java 2026-03-08 16:37:43 UTC (rev 2988)
@@ -101,8 +101,8 @@
* Set this to null to signal that the writing system needs no further consideration during font selection.
* @return The best-fitting {@link FontUse} instance associated with the descriptive input, or null if none is
* found using the given criteria.
- * @see #selectFontFallback(Script)
- * @see #selectFontFallback()
+ * @see #selectFallbackFont(Script)
+ * @see #selectFallbackFont()
* @see <a href="https://www.w3.org/TR/CSS2/fonts.html#algorithm">The CSS2 Font Matching Algorithm</a>
*/
FontUse selectFont(List<String> familyList, FontStyle style, FontVariant variant, FontWeight weight,
@@ -116,9 +116,9 @@
* @param script The script for which a font is needed.
* @return A {@link FontUse} instance that generally supports {@code script}, or null if none is found.
* @see #selectFont(List, FontStyle, FontVariant, FontWeight, FontStretch, int, WritingSystem)
- * @see #selectFontFallback()
+ * @see #selectFallbackFont()
*/
- FontUse selectFontFallback(Script script);
+ FontUse selectFallbackFont(Script script);
/**
* Returns an instance of a fallback font.
@@ -131,9 +131,9 @@
* method regardless.
* @return A {@link FontUse} instance, any instance.
* @see #selectFont(List, FontStyle, FontVariant, FontWeight, FontStretch, int, WritingSystem)
- * @see #selectFontFallback(Script)
+ * @see #selectFallbackFont(Script)
*/
- FontUse selectFontFallback();
+ FontUse selectFallbackFont();
/**
* Returns the {@link ConsumerFont} that wraps the use of a {@link Font}, creating it as needed.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|