Fonts in ACP

Revision as of 10:24, 10 October 2024 by Dpaine (talk | contribs) (Created page with "Fonts in ACP ==Fallback Handling== *If a model is created with a font that your machine has installed, ACP will show the text with that font. *If a model is saved with a font...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Fonts in ACP

Fallback Handling

  • If a model is created with a font that your machine has installed, ACP will show the text with that font.
  • If a model is saved with a font not present on your computer, ACP will fall back to a similar font.

Fonts that are defined in ACP

IN the AcpConfig.json file there is a list of fonts and the font family they fall under. ACP uses this li=st to determins which font it will fall back to if a given font ins not present on yhour machine.

 "serifFonts": [ "Times New Roman", "Times", "Garamond", "Georgia", "Bodoni", "Argesta", "American Typewriter", "Baskerville", "Palatino", "Didot", "Libre Baskerville", "Caslon", "Sabon", "Rockwell", "Rockwell Nova", "Minion", "Trajan", "Cambria", "Source Serif Pro", "EB Garamond", "Bookman", "Bookman Old Style", "Bembo", "Goudy Old Style", "Goudy Stout", "Mrs Eaves", "Monaco", "Adobe Caslon", "Apperal", "Beirut", "Juana", "Lora", "Giveny", "Maiah", "Butler", "Quincy", "Rostemary", "Bogart", "Zilla Slab", "Zapf Chancery", "Vivaldi", "Stix", "Source Serif Pro", "PT Serif", "Playfair Display", "Noto Serif", "Merriweather", "Joanna", "Iowan Old Style", "Cochin", "Casion", "Zapfino", "Perpetua", "Hoefler Text", "Century Schoolbook", "Book Antiqua", "Bell MT" ],
   "sansSerifFonts": [ "Segoe UI", "Avant Garde", "Arial Black", "Lucida Sans", "Impact", "Comic Sans MS", "Trebuchet MS", "Trebuchet", "Helvetica", "Arial", "Arial Narrow", "Verdana", "Tahoma", "Calibri", "Century Gothic", "Open Sans", "Lato", "Futura", "Montserrat", "Roboto", "Raleway", "Avenir", "Source Sans Pro", "Gill Sans", "Gill Sans MT", "Univers", "Franklin Gothic", "Frutiger", "Gotham", "Optima", "Proxima Nova", "Oswald", "Quicksand", "Play", "Amatic SC", "Pacifico", "Dancing Script", "Lobster", "Trattatello", "Source Sans Pro", "PT Sans", "Myriad Pro", "Kabel", "Fira Sans", "DIN", "Comic Neue", "Charcoal", "Ubuntu", "Papyrus", "Lucida Grande", "Helvetica Neue", "Geneva", "Fantasy", "Cursive", "Corbel", "Copperplate", "Chalk Duster", "Bradley Hand" ],
   "monospaceFonts": [ "Courier New", "Consolas", "Andale Mono", "Courier", "Lucida Console", "Monaco", "Courier Prime", "Fira Mono", "Menlo", "Source Code Pro", "Ubuntu Mono" ],

Note these Google fonts are not typically present on a Windows computer, but they can be downloaded and installed on Windows. Font Hosting Options Google Fonts: Free, but fonts are hosted on Google’s servers, so users’ browsers must request them externally, which may affect load time slightly. Self-Hosting Fonts: Download font files (from Google Fonts or other providers) and serve them from your server. This approach can improve performance and control but may require a license for certain fonts.

Font Licensing Considerations Some fonts are free for personal use but may require a license for commercial projects. Always check licensing terms when using non-standard fonts to avoid legal issues.

ACP Configuration (acpConfig.json) Fonts are defined in the acpConfig.json file, which specifies which fonts are available and their categories (e.g., serif, sans-serif, monospace). This file acts as the source of truth for fonts that ACP uses in its interface. The configuration file includes references to the embedded Google Fonts, ensuring these fonts are loaded as needed.

Fallback Handling ACP ensures a fallback system in case an embedded font fails to load. The CSS specifies alternative system fonts or generic font families (e.g., 'sans-serif') as backups. This fallback mechanism ensures that if an embedded font is not available or fails to load due to network issues, a suitable replacement font will be used automatically.

ACP uses a selection of embedded Google Fonts to ensure a consistent and professional appearance across all devices and platforms. These fonts are managed internally and applied automatically, so users don’t need to configure or adjust anything.

1. Purpose of Embedded Fonts Consistency Across Devices: The use of embedded fonts guarantees that users see the same fonts regardless of the device or operating system they are using. This helps maintain a uniform appearance for models and interfaces in ACP. Enhanced Visual Appeal: The embedded fonts include a variety of styles like Roboto, Open Sans, Montserrat, and others, which allow ACP to deliver a clean, modern, and professional look. WYSIWYG Experience: By using the same fonts embedded in ACP, models designed on the desktop version (DTA) appear consistent when viewed in ACP, ensuring that what you design is what you see.

The following Google fonts are embedded in ACP:

Roboto Open Sans Montserrat Lato Poppins Inter Noto Sans Roboto Mono Inconsolata Merriweather

Comments


You are not allowed to post comments.