feat: add Bookerly font plugin with style selection and SmallerFonts integration
This commit is contained in:
1 parent
1dc223cde8
commit
7f704878e9
18 files changed
+1336
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#include "BookerlyPlugin.h"
|
||||
|
||||
namespace BookerlyPlugin {
|
||||
|
||||
const char* styleName(BookerlyStyle style) {
|
||||
switch (style) {
|
||||
case BookerlyStyle::ITALIC: return "Italic";
|
||||
case BookerlyStyle::BOLD: return "Bold";
|
||||
case BookerlyStyle::BOLD_ITALIC: return "Bold Italic";
|
||||
default: return "Regular";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user