public interface WebFontService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmbeddingCode(java.lang.String themePath,
java.util.Set<java.lang.String> usedFonts)
It should return a string containing the html code (script tag or link tag) required
for using the web font service.
|
java.util.List<java.lang.String> |
getFontList(java.lang.String themePath)
Gets a list of fonts that are made available by the web font service.
|
java.util.List<java.lang.String> getFontList(java.lang.String themePath)
themePath
- The path to jcr:content node of theme on which the service is configured.font-name
=font-family-value
java.lang.String getEmbeddingCode(java.lang.String themePath, java.util.Set<java.lang.String> usedFonts)
themePath
- The path to jcr:content node of theme on which the service is configured.usedFonts
- A set of all (not specific to the web font service) font-family values which are being used
in form or theme.Copyright © 2010 - 2020 Adobe. All Rights Reserved