public class FontFallbackSettings
Method Summary | ||
---|---|---|
void | buildAutomatic() | |
Automatically builds the fallback settings by scanning available fonts.
|
||
void | load(java.io.InputStream stream) | |
Loads fallback settings from XML stream.
|
||
void | load(java.lang.String fileName) | |
Loads font fallback settings from XML file.
|
||
void | loadMsOfficeFallbackSettings() | |
Loads predefined fallback settings which mimics the Microsoft Word fallback and uses Microsoft office fonts.
|
||
void | loadNotoFallbackSettings() | |
Loads predefined fallback settings which uses Google Noto fonts.
|
||
void | save(java.io.OutputStream stream) | |
Saves the current fallback settings to stream.
|
||
void | save(java.lang.String fileName) | |
Saves the current fallback settings to file.
|
public void buildAutomatic()
public void load(java.io.InputStream stream) throws java.lang.Exception
stream
- Input stream.public void load(java.lang.String fileName) throws java.lang.Exception
fileName
- Input file name.public void loadMsOfficeFallbackSettings()
public void loadNotoFallbackSettings() throws java.lang.Exception
public void save(java.io.OutputStream stream) throws java.lang.Exception
outputStream
- Output stream.public void save(java.lang.String fileName) throws java.lang.Exception
fileName
- Output file name.