fontastic 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +16 -0
- package/.eslintrc.json +54 -0
- package/.github/FUNDING.yml +12 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +29 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/.github/dependabot.yml +6 -0
- package/.github/pull_request_template.md +21 -0
- package/.github/stale.yml +17 -0
- package/.github/workflows/macos.yml +58 -0
- package/.github/workflows/ubuntu.yml +70 -0
- package/.github/workflows/windows.yml +64 -0
- package/.node-version +1 -0
- package/.vscode/launch.json +46 -0
- package/.vscode/tasks.json +49 -0
- package/CODE_OF_CONDUCT.md +45 -0
- package/CONTRIBUTING.md +72 -0
- package/LICENSE +21 -0
- package/README.md +111 -0
- package/_config.yml +1 -0
- package/angular.json +194 -0
- package/angular.webpack.js +32 -0
- package/app/Application.js +40 -0
- package/app/Application.ts +38 -0
- package/app/config/alert.ts +32 -0
- package/app/config/database.js +203 -0
- package/app/config/database.ts +202 -0
- package/app/config/index.js +20 -0
- package/app/config/index.ts +3 -0
- package/app/config/mimes.js +49 -0
- package/app/config/mimes.ts +54 -0
- package/app/config/system.js +497 -0
- package/app/config/system.ts +498 -0
- package/app/config/themes.ts +38 -0
- package/app/core/AppLogger.js +31 -0
- package/app/core/AppLogger.ts +38 -0
- package/app/core/ConfigManager.js +114 -0
- package/app/core/ConfigManager.ts +137 -0
- package/app/core/ConnectionManager.js +83 -0
- package/app/core/ConnectionManager.ts +95 -0
- package/app/core/FontCatalog.js +51 -0
- package/app/core/FontCatalog.ts +42 -0
- package/app/core/FontFinder.js +86 -0
- package/app/core/FontFinder.ts +96 -0
- package/app/core/FontInstaller.js +67 -0
- package/app/core/FontInstaller.ts +63 -0
- package/app/core/FontManager.js +165 -0
- package/app/core/FontManager.ts +172 -0
- package/app/core/FontObject.js +54 -0
- package/app/core/FontObject.ts +62 -0
- package/app/core/MessageHandler.js +272 -0
- package/app/core/MessageHandler.ts +337 -0
- package/app/core/SystemManager.js +140 -0
- package/app/core/SystemManager.ts +171 -0
- package/app/core/menu/Example.ts +280 -0
- package/app/core/menu/MenuBuilder.js +45 -0
- package/app/core/menu/MenuBuilder.ts +53 -0
- package/app/core/menu/templates/DarwinTemplate.js +127 -0
- package/app/core/menu/templates/DarwinTemplate.ts +142 -0
- package/app/core/menu/templates/SystemTemplate.js +124 -0
- package/app/core/menu/templates/SystemTemplate.ts +139 -0
- package/app/database/entity/Collection.schema.js +99 -0
- package/app/database/entity/Collection.schema.ts +68 -0
- package/app/database/entity/Logger.schema.js +50 -0
- package/app/database/entity/Logger.schema.ts +26 -0
- package/app/database/entity/Store.schema.js +165 -0
- package/app/database/entity/Store.schema.ts +116 -0
- package/app/database/entity/index.js +20 -0
- package/app/database/entity/index.ts +3 -0
- package/app/database/repository/Collection.repository.js +181 -0
- package/app/database/repository/Collection.repository.ts +190 -0
- package/app/database/repository/Logger.repository.js +25 -0
- package/app/database/repository/Logger.repository.ts +11 -0
- package/app/database/repository/Store.repository.js +328 -0
- package/app/database/repository/Store.repository.ts +358 -0
- package/app/database/repository/User.repository.js +12 -0
- package/app/database/repository/User.repository.ts +8 -0
- package/app/database/repository/index.js +20 -0
- package/app/database/repository/index.ts +3 -0
- package/app/enums/ChannelType.js +62 -0
- package/app/enums/ChannelType.ts +65 -0
- package/app/enums/StorageType.js +19 -0
- package/app/enums/index.js +19 -0
- package/app/enums/index.ts +2 -0
- package/app/enums/storageType.ts +14 -0
- package/app/helpers/command.js +28 -0
- package/app/helpers/command.ts +20 -0
- package/app/helpers/random.js +16 -0
- package/app/helpers/random.ts +12 -0
- package/app/main.js +82 -0
- package/app/main.ts +94 -0
- package/app/package-lock.json +2649 -0
- package/app/package.json +35 -0
- package/app/types/AppAlert.js +3 -0
- package/app/types/AppAlert.ts +8 -0
- package/app/types/AuthUser.js +7 -0
- package/app/types/AuthUser.ts +5 -0
- package/app/types/Breadcrumb.js +3 -0
- package/app/types/Breadcrumb.ts +5 -0
- package/app/types/ImportOptions.js +7 -0
- package/app/types/ImportOptions.ts +3 -0
- package/app/types/QueryOptions.js +3 -0
- package/app/types/QueryOptions.ts +12 -0
- package/app/types/SystemConfig.js +3 -0
- package/app/types/SystemConfig.ts +132 -0
- package/app/types/SystemStats.js +3 -0
- package/app/types/SystemStats.ts +7 -0
- package/app/types/SystemTheme.js +3 -0
- package/app/types/SystemTheme.ts +5 -0
- package/app/types/index.js +25 -0
- package/app/types/index.ts +8 -0
- package/docs/logo.png +0 -0
- package/docs/screenshots/readme.md +7 -0
- package/docs/screenshots/screen-grab1.png +0 -0
- package/docs/screenshots/screen-grab2.png +0 -0
- package/docs/screenshots/screen-grab3.png +0 -0
- package/e2e/main.spec.ts +59 -0
- package/e2e/playwright.config.ts +19 -0
- package/e2e/tsconfig.e2e.json +13 -0
- package/electron-builder.json +71 -0
- package/package.json +121 -0
- package/src/app/app-routing.module.ts +15 -0
- package/src/app/app.component.html +1 -0
- package/src/app/app.component.scss +0 -0
- package/src/app/app.component.spec.ts.dist +33 -0
- package/src/app/app.component.ts +37 -0
- package/src/app/app.module.ts +63 -0
- package/src/app/core/core.module.ts +11 -0
- package/src/app/core/model/AuthUserModel.ts +7 -0
- package/src/app/core/model/CustomThemeModel.ts +7 -0
- package/src/app/core/model/DbConnectionModel.ts +16 -0
- package/src/app/core/model/ImportOptionsModel.ts +5 -0
- package/src/app/core/model/LatestNewsModel.ts +7 -0
- package/src/app/core/model/SearchFormModel.ts +10 -0
- package/src/app/core/model/index.ts +6 -0
- package/src/app/core/services/alert/alert.service.spec.ts +22 -0
- package/src/app/core/services/alert/alert.service.ts +71 -0
- package/src/app/core/services/auth/auth.service.ts +30 -0
- package/src/app/core/services/boot/boot.service.ts +33 -0
- package/src/app/core/services/breadcrumb/breadcrumb.service.spec.ts +22 -0
- package/src/app/core/services/breadcrumb/breadcrumb.service.ts +30 -0
- package/src/app/core/services/config/config.service.ts +63 -0
- package/src/app/core/services/database/database.service.ts +286 -0
- package/src/app/core/services/electron/electron.service.spec.ts +12 -0
- package/src/app/core/services/electron/electron.service.ts +62 -0
- package/src/app/core/services/font/font.service.ts +79 -0
- package/src/app/core/services/gravatar/gravatar.service.spec.ts +16 -0
- package/src/app/core/services/gravatar/gravatar.service.ts +18 -0
- package/src/app/core/services/index.ts +14 -0
- package/src/app/core/services/message/message.service.ts +289 -0
- package/src/app/core/services/modal/modal.service.spec.ts +16 -0
- package/src/app/core/services/modal/modal.service.ts +34 -0
- package/src/app/core/services/news/news.service.ts +94 -0
- package/src/app/core/services/presentation/presentation.service.ts +341 -0
- package/src/app/core/services/utils/utils.service.spec.ts +12 -0
- package/src/app/core/services/utils/utils.service.ts +144 -0
- package/src/app/layout/aside/aside.component.html +9 -0
- package/src/app/layout/aside/aside.component.scss +1 -0
- package/src/app/layout/aside/aside.component.ts +26 -0
- package/src/app/layout/footer/footer.component.html +11 -0
- package/src/app/layout/footer/footer.component.scss +27 -0
- package/src/app/layout/footer/footer.component.ts +32 -0
- package/src/app/layout/header/header.component.html +35 -0
- package/src/app/layout/header/header.component.scss +60 -0
- package/src/app/layout/header/header.component.ts +229 -0
- package/src/app/layout/layout.component.html +14 -0
- package/src/app/layout/layout.component.scss +119 -0
- package/src/app/layout/layout.component.ts +23 -0
- package/src/app/layout/layout.module.ts +32 -0
- package/src/app/layout/layout.service.ts +13 -0
- package/src/app/layout/navigation/navigation.component.html +142 -0
- package/src/app/layout/navigation/navigation.component.scss +0 -0
- package/src/app/layout/navigation/navigation.component.ts +302 -0
- package/src/app/pages/main/grid/grid.component.html +160 -0
- package/src/app/pages/main/grid/grid.component.scss +3 -0
- package/src/app/pages/main/grid/grid.component.ts +98 -0
- package/src/app/pages/main/inspect/inspect.component.html +7 -0
- package/src/app/pages/main/inspect/inspect.component.scss +3 -0
- package/src/app/pages/main/inspect/inspect.component.ts +66 -0
- package/src/app/pages/main/main-routing.module.ts +30 -0
- package/src/app/pages/main/main.component.html +6 -0
- package/src/app/pages/main/main.component.scss +191 -0
- package/src/app/pages/main/main.component.ts +35 -0
- package/src/app/pages/main/main.module.ts +28 -0
- package/src/app/pages/main/preview/preview.component.html +46 -0
- package/src/app/pages/main/preview/preview.component.scss +0 -0
- package/src/app/pages/main/preview/preview.component.ts +239 -0
- package/src/app/pages/main/toolbar/toolbar.component.html +78 -0
- package/src/app/pages/main/toolbar/toolbar.component.scss +3 -0
- package/src/app/pages/main/toolbar/toolbar.component.ts +132 -0
- package/src/app/shared/components/alert/alert.component.html +9 -0
- package/src/app/shared/components/alert/alert.component.scss +0 -0
- package/src/app/shared/components/alert/alert.component.ts +37 -0
- package/src/app/shared/components/breadcrumbs/breadcrumbs.component.html +14 -0
- package/src/app/shared/components/breadcrumbs/breadcrumbs.component.scss +0 -0
- package/src/app/shared/components/breadcrumbs/breadcrumbs.component.ts +36 -0
- package/src/app/shared/components/button/button.component.html +3 -0
- package/src/app/shared/components/button/button.component.scss +2 -0
- package/src/app/shared/components/button/button.component.ts +22 -0
- package/src/app/shared/components/collection/create-collection/create-collection.component.html +41 -0
- package/src/app/shared/components/collection/create-collection/create-collection.component.scss +0 -0
- package/src/app/shared/components/collection/create-collection/create-collection.component.ts +68 -0
- package/src/app/shared/components/collection/form-collection/form-collection.component.html +1 -0
- package/src/app/shared/components/collection/form-collection/form-collection.component.scss +0 -0
- package/src/app/shared/components/collection/form-collection/form-collection.component.ts +15 -0
- package/src/app/shared/components/collection/update-collection/update-collection.component.html +40 -0
- package/src/app/shared/components/collection/update-collection/update-collection.component.scss +0 -0
- package/src/app/shared/components/collection/update-collection/update-collection.component.ts +71 -0
- package/src/app/shared/components/glyph-list/glyph-list.component.html +40 -0
- package/src/app/shared/components/glyph-list/glyph-list.component.scss +1 -0
- package/src/app/shared/components/glyph-list/glyph-list.component.ts +165 -0
- package/src/app/shared/components/glyph-view/glyph-view.component.html +23 -0
- package/src/app/shared/components/glyph-view/glyph-view.component.scss +0 -0
- package/src/app/shared/components/glyph-view/glyph-view.component.ts +228 -0
- package/src/app/shared/components/index.ts +16 -0
- package/src/app/shared/components/loading/loading.component.html +1 -0
- package/src/app/shared/components/loading/loading.component.scss +0 -0
- package/src/app/shared/components/loading/loading.component.ts +26 -0
- package/src/app/shared/components/modal/modal.component.html +31 -0
- package/src/app/shared/components/modal/modal.component.scss +0 -0
- package/src/app/shared/components/modal/modal.component.ts +51 -0
- package/src/app/shared/components/page-not-found/page-not-found.component.html +3 -0
- package/src/app/shared/components/page-not-found/page-not-found.component.scss +0 -0
- package/src/app/shared/components/page-not-found/page-not-found.component.ts +12 -0
- package/src/app/shared/components/paginator/paginator.component.html +21 -0
- package/src/app/shared/components/paginator/paginator.component.scss +3 -0
- package/src/app/shared/components/paginator/paginator.component.ts +133 -0
- package/src/app/shared/components/pairing/pairing.component.html +20 -0
- package/src/app/shared/components/pairing/pairing.component.scss +0 -0
- package/src/app/shared/components/pairing/pairing.component.ts +33 -0
- package/src/app/shared/components/search/search.component.html +54 -0
- package/src/app/shared/components/search/search.component.scss +10 -0
- package/src/app/shared/components/search/search.component.ts +77 -0
- package/src/app/shared/components/settings/database/database.component.html +151 -0
- package/src/app/shared/components/settings/database/database.component.scss +0 -0
- package/src/app/shared/components/settings/database/database.component.ts +145 -0
- package/src/app/shared/components/settings/general/general.component.html +170 -0
- package/src/app/shared/components/settings/general/general.component.scss +0 -0
- package/src/app/shared/components/settings/general/general.component.ts +150 -0
- package/src/app/shared/components/settings/logs/logs.component.html +44 -0
- package/src/app/shared/components/settings/logs/logs.component.scss +0 -0
- package/src/app/shared/components/settings/logs/logs.component.ts +37 -0
- package/src/app/shared/components/settings/news/news.component.html +41 -0
- package/src/app/shared/components/settings/news/news.component.scss +0 -0
- package/src/app/shared/components/settings/news/news.component.ts +52 -0
- package/src/app/shared/components/settings/settings.component.html +46 -0
- package/src/app/shared/components/settings/settings.component.scss +0 -0
- package/src/app/shared/components/settings/settings.component.ts +23 -0
- package/src/app/shared/components/settings/system/system.component.html +30 -0
- package/src/app/shared/components/settings/system/system.component.scss +0 -0
- package/src/app/shared/components/settings/system/system.component.ts +43 -0
- package/src/app/shared/components/settings/theme/theme.component.html +22 -0
- package/src/app/shared/components/settings/theme/theme.component.scss +0 -0
- package/src/app/shared/components/settings/theme/theme.component.ts +50 -0
- package/src/app/shared/components/spinner/spinner.component.html +1 -0
- package/src/app/shared/components/spinner/spinner.component.scss +0 -0
- package/src/app/shared/components/spinner/spinner.component.ts +26 -0
- package/src/app/shared/components/store/store.component.html +22 -0
- package/src/app/shared/components/store/store.component.scss +10 -0
- package/src/app/shared/components/store/store.component.ts +58 -0
- package/src/app/shared/components/tables/tables.component.html +47 -0
- package/src/app/shared/components/tables/tables.component.scss +10 -0
- package/src/app/shared/components/tables/tables.component.ts +81 -0
- package/src/app/shared/components/typescale/typescale.component.html +53 -0
- package/src/app/shared/components/typescale/typescale.component.scss +0 -0
- package/src/app/shared/components/typescale/typescale.component.ts +168 -0
- package/src/app/shared/directives/gravatar/gravatar.directive.ts +29 -0
- package/src/app/shared/directives/index.ts +2 -0
- package/src/app/shared/directives/webview/webview.directive.ts +8 -0
- package/src/app/shared/pipes/installable.pipe.ts +10 -0
- package/src/app/shared/pipes/prettybytes.pipe.ts +10 -0
- package/src/app/shared/pipes/safehtml.pipe.ts +10 -0
- package/src/app/shared/shared.module.ts +92 -0
- package/src/assets/.gitkeep +0 -0
- package/src/assets/fonts/fa/fa-brands-400.eot +0 -0
- package/src/assets/fonts/fa/fa-brands-400.svg +3535 -0
- package/src/assets/fonts/fa/fa-brands-400.ttf +0 -0
- package/src/assets/fonts/fa/fa-brands-400.woff +0 -0
- package/src/assets/fonts/fa/fa-brands-400.woff2 +0 -0
- package/src/assets/fonts/fa/fa-regular-400.eot +0 -0
- package/src/assets/fonts/fa/fa-regular-400.svg +803 -0
- package/src/assets/fonts/fa/fa-regular-400.ttf +0 -0
- package/src/assets/fonts/fa/fa-regular-400.woff +0 -0
- package/src/assets/fonts/fa/fa-regular-400.woff2 +0 -0
- package/src/assets/fonts/fa/fa-solid-900.eot +0 -0
- package/src/assets/fonts/fa/fa-solid-900.svg +4700 -0
- package/src/assets/fonts/fa/fa-solid-900.ttf +0 -0
- package/src/assets/fonts/fa/fa-solid-900.woff +0 -0
- package/src/assets/fonts/fa/fa-solid-900.woff2 +0 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.eot +0 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.ijmap +1 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.svg +2373 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.ttf +0 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.woff +0 -0
- package/src/assets/fonts/md/MaterialIcons-Regular.woff2 +0 -0
- package/src/assets/fonts/md/README.md +9 -0
- package/src/assets/fonts/md/codepoints +932 -0
- package/src/assets/fonts/md/material-icons.css +36 -0
- package/src/assets/fonts/octicon/octicon.eot +0 -0
- package/src/assets/fonts/octicon/octicon.svg +378 -0
- package/src/assets/fonts/octicon/octicon.ttf +0 -0
- package/src/assets/fonts/octicon/octicon.woff +0 -0
- package/src/assets/fonts/octicon/octicon.woff2 +0 -0
- package/src/assets/fonts/roboto/Roboto-Bold-webfont.eot +0 -0
- package/src/assets/fonts/roboto/Roboto-Bold-webfont.svg +607 -0
- package/src/assets/fonts/roboto/Roboto-Bold-webfont.ttf +0 -0
- package/src/assets/fonts/roboto/Roboto-Bold-webfont.woff +0 -0
- package/src/assets/fonts/roboto/Roboto-Medium-webfont.eot +0 -0
- package/src/assets/fonts/roboto/Roboto-Medium-webfont.svg +607 -0
- package/src/assets/fonts/roboto/Roboto-Medium-webfont.ttf +0 -0
- package/src/assets/fonts/roboto/Roboto-Medium-webfont.woff +0 -0
- package/src/assets/fonts/roboto/Roboto-Regular-webfont.eot +0 -0
- package/src/assets/fonts/roboto/Roboto-Regular-webfont.svg +635 -0
- package/src/assets/fonts/roboto/Roboto-Regular-webfont.ttf +0 -0
- package/src/assets/fonts/roboto/Roboto-Regular-webfont.woff +0 -0
- package/src/assets/i18n/en.json +12 -0
- package/src/assets/icons/android-chrome-192x192.png +0 -0
- package/src/assets/icons/android-chrome-512x512.png +0 -0
- package/src/assets/icons/apple-touch-icon.png +0 -0
- package/src/assets/icons/favicon-16x16.png +0 -0
- package/src/assets/icons/favicon-32x32.png +0 -0
- package/src/assets/icons/favicon.ico +0 -0
- package/src/assets/icons/site.webmanifest +1 -0
- package/src/assets/images/electron.bmp +0 -0
- package/src/bin/activator +0 -0
- package/src/bin/activator.exe +0 -0
- package/src/environments/environment.dev.ts +4 -0
- package/src/environments/environment.prod.ts +4 -0
- package/src/environments/environment.ts +4 -0
- package/src/environments/environment.web.prod.ts +4 -0
- package/src/environments/environment.web.ts +4 -0
- package/src/favicon.ico +0 -0
- package/src/index.html +55 -0
- package/src/karma.conf.js +50 -0
- package/src/main.ts +15 -0
- package/src/polyfills-test.ts +1 -0
- package/src/polyfills.ts +53 -0
- package/src/styles/base/loading.scss +87 -0
- package/src/styles/base/reset.scss +408 -0
- package/src/styles/components/alert.scss +54 -0
- package/src/styles/components/buttons.scss +93 -0
- package/src/styles/components/forms.scss +96 -0
- package/src/styles/components/inputs.scss +113 -0
- package/src/styles/components/modal.scss +52 -0
- package/src/styles/components/paginator.scss +108 -0
- package/src/styles/components/scrollbox.scss +71 -0
- package/src/styles/components/spinner.scss +11 -0
- package/src/styles/components/tables.scss +42 -0
- package/src/styles/components/tabs.scss +44 -0
- package/src/styles/components/toolbar.scss +130 -0
- package/src/styles/fonts/md.scss +54 -0
- package/src/styles/fonts/octicons.scss +1351 -0
- package/src/styles/fonts/roboto.scss +32 -0
- package/src/styles/themes/dashboard.scss +294 -0
- package/src/styles/themes/euphoria.scss +283 -0
- package/src/styles/themes/mellow.scss +280 -0
- package/src/styles/themes/midnight.scss +283 -0
- package/src/styles/themes/passion.scss +280 -0
- package/src/styles/themes/swiss.scss +283 -0
- package/src/styles/tools/_functions.scss +5 -0
- package/src/styles/tools/_mixins.scss +159 -0
- package/src/styles/tools/_placeholders.scss +17 -0
- package/src/styles/tools/_variables.scss +67 -0
- package/src/styles.scss +37 -0
- package/src/test.ts +22 -0
- package/src/tsconfig.app.json +20 -0
- package/src/tsconfig.spec.json +23 -0
- package/src/typings.d.ts +9 -0
- package/tailwind.config.js +67 -0
- package/tsconfig.json +42 -0
- package/tsconfig.serve.json +27 -0
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// SYSTEM SETTINGS
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.fontTypeScale = exports.importUserOptions = exports.namesTableRecords = exports.fontTableData = exports.systemFontPaths = void 0;
|
|
5
|
+
exports.systemFontPaths = new Map();
|
|
6
|
+
exports.systemFontPaths.set('win', ['C:\\Windows\\fonts']);
|
|
7
|
+
exports.systemFontPaths.set('mac', ['/Library/Fonts']);
|
|
8
|
+
exports.systemFontPaths.set('unix', ['/usr/share/fonts', '/usr/local/share/fonts', '~/.local/share/fonts', '~/.fonts']);
|
|
9
|
+
exports.fontTableData = [{
|
|
10
|
+
name: 'avar',
|
|
11
|
+
title: 'Axis Variations',
|
|
12
|
+
required: false,
|
|
13
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/avar'
|
|
14
|
+
}, {
|
|
15
|
+
name: 'BASE',
|
|
16
|
+
title: 'Baseline',
|
|
17
|
+
required: false,
|
|
18
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/base'
|
|
19
|
+
}, {
|
|
20
|
+
name: 'CBDT',
|
|
21
|
+
title: 'Color Bitmap Data',
|
|
22
|
+
required: false,
|
|
23
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cbdt'
|
|
24
|
+
}, {
|
|
25
|
+
name: 'CBLC',
|
|
26
|
+
title: 'Color Bitmap Location',
|
|
27
|
+
required: false,
|
|
28
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cblc'
|
|
29
|
+
}, {
|
|
30
|
+
name: 'CFF',
|
|
31
|
+
title: 'Compact Font Format',
|
|
32
|
+
required: false,
|
|
33
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cff'
|
|
34
|
+
}, {
|
|
35
|
+
name: 'CFF2',
|
|
36
|
+
title: 'Compact Font Format (CFF) Version 2',
|
|
37
|
+
required: false,
|
|
38
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cff2'
|
|
39
|
+
}, {
|
|
40
|
+
name: 'cmap',
|
|
41
|
+
title: 'Character to Glyph Index Mapping',
|
|
42
|
+
required: false,
|
|
43
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cmap'
|
|
44
|
+
}, {
|
|
45
|
+
name: 'COLR',
|
|
46
|
+
title: 'Color',
|
|
47
|
+
required: false,
|
|
48
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/colr'
|
|
49
|
+
}, {
|
|
50
|
+
name: 'CPAL',
|
|
51
|
+
title: 'Color Palette',
|
|
52
|
+
required: false,
|
|
53
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cpal'
|
|
54
|
+
}, {
|
|
55
|
+
name: 'cvar',
|
|
56
|
+
title: 'CVT Variations',
|
|
57
|
+
required: false,
|
|
58
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cvar'
|
|
59
|
+
}, {
|
|
60
|
+
name: 'cvt',
|
|
61
|
+
title: 'Control Value',
|
|
62
|
+
required: false,
|
|
63
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/cvt'
|
|
64
|
+
}, {
|
|
65
|
+
name: 'DSIG',
|
|
66
|
+
title: 'Digital Signature',
|
|
67
|
+
required: false,
|
|
68
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/dsig'
|
|
69
|
+
}, {
|
|
70
|
+
name: 'EBDT',
|
|
71
|
+
title: 'Embedded Bitmap Data',
|
|
72
|
+
required: false,
|
|
73
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/ebdt'
|
|
74
|
+
}, {
|
|
75
|
+
name: 'EBLC',
|
|
76
|
+
title: 'Embedded Bitmap Location',
|
|
77
|
+
required: false,
|
|
78
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/eblc'
|
|
79
|
+
}, {
|
|
80
|
+
name: 'EBSC',
|
|
81
|
+
title: 'Embedded Bitmap Scaling',
|
|
82
|
+
required: false,
|
|
83
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/ebsc'
|
|
84
|
+
}, {
|
|
85
|
+
name: 'fpgm',
|
|
86
|
+
title: 'Font Program',
|
|
87
|
+
required: false,
|
|
88
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/fpgm'
|
|
89
|
+
}, {
|
|
90
|
+
name: 'fvar',
|
|
91
|
+
title: 'Font Variations',
|
|
92
|
+
required: false,
|
|
93
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/fvar'
|
|
94
|
+
}, {
|
|
95
|
+
name: 'gasp',
|
|
96
|
+
title: 'Grid-fitting and Scan-conversion Procedure',
|
|
97
|
+
required: false,
|
|
98
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/gasp'
|
|
99
|
+
}, {
|
|
100
|
+
name: 'GDEF',
|
|
101
|
+
title: 'Glyph Definition',
|
|
102
|
+
required: false,
|
|
103
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/gdef'
|
|
104
|
+
}, {
|
|
105
|
+
name: 'glyf',
|
|
106
|
+
title: 'Glyph Data',
|
|
107
|
+
required: false,
|
|
108
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/glyf'
|
|
109
|
+
}, {
|
|
110
|
+
name: 'GPOS',
|
|
111
|
+
title: 'Glyph Positioning',
|
|
112
|
+
required: false,
|
|
113
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/gpos'
|
|
114
|
+
}, {
|
|
115
|
+
name: 'GSUB',
|
|
116
|
+
title: 'Glyph Substitution',
|
|
117
|
+
required: false,
|
|
118
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/gsub'
|
|
119
|
+
}, {
|
|
120
|
+
name: 'gvar',
|
|
121
|
+
title: 'Glyph Variations',
|
|
122
|
+
required: false,
|
|
123
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/gvar'
|
|
124
|
+
}, {
|
|
125
|
+
name: 'hdmx',
|
|
126
|
+
title: 'Horizontal Device Metrics',
|
|
127
|
+
required: false,
|
|
128
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/hdmx'
|
|
129
|
+
}, {
|
|
130
|
+
name: 'head',
|
|
131
|
+
title: 'Font Header',
|
|
132
|
+
required: false,
|
|
133
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/head'
|
|
134
|
+
}, {
|
|
135
|
+
name: 'hhea',
|
|
136
|
+
title: 'Horizontal Header',
|
|
137
|
+
required: false,
|
|
138
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/hhea'
|
|
139
|
+
}, {
|
|
140
|
+
name: 'hmtx',
|
|
141
|
+
title: 'Horizontal Metrics',
|
|
142
|
+
required: false,
|
|
143
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/htmx'
|
|
144
|
+
}, {
|
|
145
|
+
name: 'HVAR',
|
|
146
|
+
title: 'Horizontal Metrics Variations',
|
|
147
|
+
required: false,
|
|
148
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/hvar'
|
|
149
|
+
}, {
|
|
150
|
+
name: 'JSTF',
|
|
151
|
+
title: 'Justification',
|
|
152
|
+
required: false,
|
|
153
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/jstf'
|
|
154
|
+
}, {
|
|
155
|
+
name: 'kern',
|
|
156
|
+
title: 'Kerning',
|
|
157
|
+
required: false,
|
|
158
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/kern'
|
|
159
|
+
}, {
|
|
160
|
+
name: 'loca',
|
|
161
|
+
title: 'Index to Location',
|
|
162
|
+
required: false,
|
|
163
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/loca'
|
|
164
|
+
}, {
|
|
165
|
+
name: 'LTSH',
|
|
166
|
+
title: 'Linear Threshold',
|
|
167
|
+
required: false,
|
|
168
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/ltsh'
|
|
169
|
+
}, {
|
|
170
|
+
name: 'MATH',
|
|
171
|
+
title: 'The Mathematical Typesetting',
|
|
172
|
+
required: false,
|
|
173
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/math'
|
|
174
|
+
}, {
|
|
175
|
+
name: 'maxp',
|
|
176
|
+
title: 'Maximum Profile',
|
|
177
|
+
required: false,
|
|
178
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/maxp'
|
|
179
|
+
}, {
|
|
180
|
+
name: 'MERG',
|
|
181
|
+
title: 'Merge',
|
|
182
|
+
required: false,
|
|
183
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/merg'
|
|
184
|
+
}, {
|
|
185
|
+
name: 'meta',
|
|
186
|
+
title: 'Metadata',
|
|
187
|
+
required: false,
|
|
188
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/meta'
|
|
189
|
+
}, {
|
|
190
|
+
name: 'MVAR',
|
|
191
|
+
title: 'Metrics Variations',
|
|
192
|
+
required: false,
|
|
193
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/mvar'
|
|
194
|
+
}, {
|
|
195
|
+
name: 'name',
|
|
196
|
+
title: 'Naming',
|
|
197
|
+
required: false,
|
|
198
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/name'
|
|
199
|
+
}, {
|
|
200
|
+
name: 'OS2',
|
|
201
|
+
title: 'OS/2 and Windows Metrics',
|
|
202
|
+
required: false,
|
|
203
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/os2'
|
|
204
|
+
}, {
|
|
205
|
+
name: 'PCLT',
|
|
206
|
+
title: 'PCL 5',
|
|
207
|
+
required: false,
|
|
208
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/pclt'
|
|
209
|
+
}, {
|
|
210
|
+
name: 'post',
|
|
211
|
+
title: 'PostScript',
|
|
212
|
+
required: false,
|
|
213
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/post'
|
|
214
|
+
}, {
|
|
215
|
+
name: 'prep',
|
|
216
|
+
title: 'Control Value Program',
|
|
217
|
+
required: false,
|
|
218
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/prep'
|
|
219
|
+
}, {
|
|
220
|
+
name: 'sbix',
|
|
221
|
+
title: 'Standard Bitmap Graphics',
|
|
222
|
+
required: false,
|
|
223
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/sbix'
|
|
224
|
+
}, {
|
|
225
|
+
name: 'STAT',
|
|
226
|
+
title: 'Style Attributes',
|
|
227
|
+
required: false,
|
|
228
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/stat'
|
|
229
|
+
}, {
|
|
230
|
+
name: 'SVG',
|
|
231
|
+
title: 'The SVG (Scalable Vector Graphics)',
|
|
232
|
+
required: false,
|
|
233
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/svg'
|
|
234
|
+
}, {
|
|
235
|
+
name: 'VDMX',
|
|
236
|
+
title: 'Vertical Device Metrics',
|
|
237
|
+
required: false,
|
|
238
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/vdmx'
|
|
239
|
+
}, {
|
|
240
|
+
name: 'vhea',
|
|
241
|
+
title: 'Vertical Header',
|
|
242
|
+
required: false,
|
|
243
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/vhea'
|
|
244
|
+
}, {
|
|
245
|
+
name: 'vtmx',
|
|
246
|
+
title: 'Vertical Metrics',
|
|
247
|
+
required: false,
|
|
248
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/vtmx'
|
|
249
|
+
}, {
|
|
250
|
+
name: 'VORG',
|
|
251
|
+
title: 'Vertical Origin',
|
|
252
|
+
required: false,
|
|
253
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/vorg'
|
|
254
|
+
}, {
|
|
255
|
+
name: 'VVAR',
|
|
256
|
+
title: 'Vertical Metrics Variations',
|
|
257
|
+
required: false,
|
|
258
|
+
url: 'https://learn.microsoft.com/en-us/typography/opentype/spec/vvar'
|
|
259
|
+
}];
|
|
260
|
+
exports.namesTableRecords = [{
|
|
261
|
+
code: 0,
|
|
262
|
+
key: 'copyright',
|
|
263
|
+
name: 'Copyright Information',
|
|
264
|
+
description: 'Copyright notice.',
|
|
265
|
+
order: 17
|
|
266
|
+
}, {
|
|
267
|
+
code: 1,
|
|
268
|
+
key: 'fontFamily',
|
|
269
|
+
name: 'Font Family',
|
|
270
|
+
description: 'The font family name.',
|
|
271
|
+
order: 1,
|
|
272
|
+
}, {
|
|
273
|
+
code: 2,
|
|
274
|
+
key: 'fontSubfamily',
|
|
275
|
+
name: 'Font Subfamily',
|
|
276
|
+
description: 'The Font Subfamily name.',
|
|
277
|
+
order: 3,
|
|
278
|
+
}, {
|
|
279
|
+
code: 3,
|
|
280
|
+
key: 'uniqueID',
|
|
281
|
+
name: 'Unique Identifier',
|
|
282
|
+
description: 'Unique font identifier',
|
|
283
|
+
order: 15,
|
|
284
|
+
}, {
|
|
285
|
+
code: 4,
|
|
286
|
+
key: 'fullName',
|
|
287
|
+
name: 'Full Name',
|
|
288
|
+
description: 'Full font name reflects entire family name.',
|
|
289
|
+
order: 2,
|
|
290
|
+
}, {
|
|
291
|
+
code: 5,
|
|
292
|
+
key: 'version',
|
|
293
|
+
name: 'Version',
|
|
294
|
+
description: 'Version string.',
|
|
295
|
+
order: 4,
|
|
296
|
+
}, {
|
|
297
|
+
code: 6,
|
|
298
|
+
key: 'postScriptName',
|
|
299
|
+
name: 'Post Script Name',
|
|
300
|
+
description: 'PostScript name',
|
|
301
|
+
order: 11,
|
|
302
|
+
}, {
|
|
303
|
+
code: 7,
|
|
304
|
+
key: 'trademark',
|
|
305
|
+
name: 'Trademark',
|
|
306
|
+
description: 'Trademark notice information for font.',
|
|
307
|
+
order: 16,
|
|
308
|
+
}, {
|
|
309
|
+
code: 8,
|
|
310
|
+
key: 'manufacturer',
|
|
311
|
+
name: 'Manufacturer',
|
|
312
|
+
description: 'Name of the manufacturer of the typeface.',
|
|
313
|
+
order: 6,
|
|
314
|
+
}, {
|
|
315
|
+
code: 9,
|
|
316
|
+
key: 'designer',
|
|
317
|
+
name: 'Designer',
|
|
318
|
+
description: 'Name of the designer of the typeface.',
|
|
319
|
+
order: 7,
|
|
320
|
+
}, {
|
|
321
|
+
code: 10,
|
|
322
|
+
key: 'description',
|
|
323
|
+
name: 'Description',
|
|
324
|
+
description: 'Description of the typeface.',
|
|
325
|
+
order: 5,
|
|
326
|
+
}, {
|
|
327
|
+
code: 11,
|
|
328
|
+
key: 'vendorURL',
|
|
329
|
+
name: 'Vendor URL',
|
|
330
|
+
description: 'URL of font vendor ',
|
|
331
|
+
order: 18,
|
|
332
|
+
}, {
|
|
333
|
+
code: 12,
|
|
334
|
+
key: 'designerURL',
|
|
335
|
+
name: 'Designer URL',
|
|
336
|
+
description: 'URL of typeface designer',
|
|
337
|
+
order: 19,
|
|
338
|
+
}, {
|
|
339
|
+
code: 13,
|
|
340
|
+
key: 'licenseDescription',
|
|
341
|
+
name: 'License Description',
|
|
342
|
+
description: 'Description of how the font may be legally used',
|
|
343
|
+
order: 20,
|
|
344
|
+
}, {
|
|
345
|
+
code: 14,
|
|
346
|
+
key: 'licenseURL',
|
|
347
|
+
name: 'License URL',
|
|
348
|
+
description: 'URL where additional licensing information can be found.',
|
|
349
|
+
order: 21,
|
|
350
|
+
}, {
|
|
351
|
+
code: 15,
|
|
352
|
+
key: 'reserved',
|
|
353
|
+
name: 'Reserved',
|
|
354
|
+
description: 'Reserved.',
|
|
355
|
+
order: 22,
|
|
356
|
+
}, {
|
|
357
|
+
code: 16,
|
|
358
|
+
key: 'preferredFamily',
|
|
359
|
+
name: 'Preferred Family',
|
|
360
|
+
description: 'Preferred Family',
|
|
361
|
+
order: 8,
|
|
362
|
+
}, {
|
|
363
|
+
code: 17,
|
|
364
|
+
key: 'preferredSubfamily',
|
|
365
|
+
name: 'Preferred Subfamily',
|
|
366
|
+
description: 'Preferred Subfamily',
|
|
367
|
+
order: 9,
|
|
368
|
+
}, {
|
|
369
|
+
code: 18,
|
|
370
|
+
key: 'compatibleFullName',
|
|
371
|
+
name: 'Compatible Full Name',
|
|
372
|
+
description: 'Compatible full name for Macintosh only.',
|
|
373
|
+
order: 10,
|
|
374
|
+
}, {
|
|
375
|
+
code: 19,
|
|
376
|
+
key: 'sampleText',
|
|
377
|
+
name: 'Sample Text',
|
|
378
|
+
description: 'Sample text.',
|
|
379
|
+
order: 23,
|
|
380
|
+
}, {
|
|
381
|
+
code: 20,
|
|
382
|
+
key: 'postscriptCID',
|
|
383
|
+
name: 'Postscript CID',
|
|
384
|
+
description: 'PostScript CID findfont name.',
|
|
385
|
+
order: 12,
|
|
386
|
+
}, {
|
|
387
|
+
code: 21,
|
|
388
|
+
key: 'wwsFamily',
|
|
389
|
+
name: 'WWS Family',
|
|
390
|
+
description: 'WWS family name in case entries do not conform to the WWS model',
|
|
391
|
+
order: 13,
|
|
392
|
+
}, {
|
|
393
|
+
code: 22,
|
|
394
|
+
key: 'wwsSubfamily',
|
|
395
|
+
name: 'WWS Subfamily',
|
|
396
|
+
description: 'WWS subfamily name provides a WWS-conformant subfamily name',
|
|
397
|
+
order: 14,
|
|
398
|
+
}, {
|
|
399
|
+
code: 23,
|
|
400
|
+
key: 'designerName',
|
|
401
|
+
name: 'lightBackgroundPalette',
|
|
402
|
+
description: 'Specifies color palette when displaying on a light background.',
|
|
403
|
+
order: 24,
|
|
404
|
+
}, {
|
|
405
|
+
code: 24,
|
|
406
|
+
key: 'darkBackgroundPalette',
|
|
407
|
+
name: 'Dark Background Palette',
|
|
408
|
+
description: 'Specifies color palette when displaying on a dark background.',
|
|
409
|
+
order: 25,
|
|
410
|
+
}, {
|
|
411
|
+
code: 25,
|
|
412
|
+
key: 'variations',
|
|
413
|
+
name: 'Variations Postscript Name Prefix',
|
|
414
|
+
description: 'Variations PostScript Name Prefix',
|
|
415
|
+
order: 26,
|
|
416
|
+
}];
|
|
417
|
+
exports.importUserOptions = [{
|
|
418
|
+
key: 'inplace',
|
|
419
|
+
title: 'Import fonts in place.'
|
|
420
|
+
}, {
|
|
421
|
+
key: 'catalog',
|
|
422
|
+
title: 'Import fonts to catalog.'
|
|
423
|
+
}, {
|
|
424
|
+
key: 'ask',
|
|
425
|
+
title: 'Ask when importing.'
|
|
426
|
+
}];
|
|
427
|
+
exports.fontTypeScale = [
|
|
428
|
+
{
|
|
429
|
+
size: 1.067,
|
|
430
|
+
label: 'Minor Second'
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
size: 1.125,
|
|
434
|
+
label: 'Major Second'
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
size: 1.200,
|
|
438
|
+
label: 'Minor Third'
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
size: 1.250,
|
|
442
|
+
label: 'Major Third'
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
size: 1.333,
|
|
446
|
+
label: 'Perfect Fourth'
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
size: 1.414,
|
|
450
|
+
label: 'Augmented Fourth'
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
size: 1.500,
|
|
454
|
+
label: 'Perfect Fifth'
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
size: 1.618,
|
|
458
|
+
label: 'Golden Ratio'
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
size: 1.600,
|
|
462
|
+
label: 'Minor Sixth'
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
size: 1.667,
|
|
466
|
+
label: 'Major Sixth'
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
size: 1.778,
|
|
470
|
+
label: 'Minor Seventh'
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
size: 1.875,
|
|
474
|
+
label: 'Major Seventh'
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
size: 2.000,
|
|
478
|
+
label: 'Octave'
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
size: 2.500,
|
|
482
|
+
label: 'Major Tenth'
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
size: 2.667,
|
|
486
|
+
label: 'Major Eleventh'
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
size: 3.000,
|
|
490
|
+
label: 'Major Twelfth'
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
size: 4.000,
|
|
494
|
+
label: 'Double Octave'
|
|
495
|
+
}
|
|
496
|
+
];
|
|
497
|
+
//# sourceMappingURL=system.js.map
|