Метод |
Описание |
|
_getRequiredLanguages ( ) |
Get required languages for this book, excluding those supported by the theme. |
|
fixWebFonts ( $css ) : mixed |
Fix relative/ambiguous URLs to web fonts |
|
getFonts ( $languages = null ) |
Check for absent font files and download if necessary. |
|
getSupportedLanguages ( ) : array |
Get Pressbooks-supported languages. |
|
getThemeFontStacks ( string $type ) : string |
Get the current theme's font stacks. |
|
getThemeSupportedLanguages ( ) : array |
Get the current theme's supported languages. |
|
updateGlobalTypographyMixin ( ) |
Update and save the SCSS mixin which assigns the $global-typography variable. |
|
updateWebBookStyleSheet ( ) : void |
Update and save the supplementary webBook stylesheet which adds global typography support. |
|