Linux 软件免费装
Banner图

Typography Stylist

开发者 matthewneilcowan
更新时间 2026年8月1日 02:37
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

typography opentype ligatures glyphs variable fonts

下载

1.2.2 2.0.0 1.1.5 1.2.0 2.0.1 1.1.4 2.1.0 1.1.3 2.1.1 1.1.6 1.1.8 1.1.9 1.1.7 1.2.1 2.1.2 2.2.0 2.2.1 2.2.2

详情介绍:

Some of your fonts' best work is hidden. Swashes, stylistic sets, discretionary ligatures, alternate characters: features a type designer spent months drawing are locked away where WordPress never shows them. Typography Stylist opens the full type cabinet, right inside the block editor, without giving up accessibility or SEO. Typography Stylist is not just a font-loading plugin (although it does that too). it sits a layer above. Font managers and the WordPress Font Library get font files onto your site; Typography Stylist is about what you do with them once they are there: browsing every glyph a face contains, turning on the OpenType features that make it sing, tuning variable font axes, and doing it all with live preview on your actual content. The Glyphs Panel An Illustrator-style glyph browser, built in. Explore every character and OpenType feature a font contains; search by character, codepoint, or glyph name; filter by stylistic set, OpenType feature, or Unicode block; and insert any glyph,including feature alternates, directly into your content with a click. The grid is fully keyboard-navigable and screen-reader announced, and fonts are parsed in your browser for metadata only, so font EULAs stay respected: no outlines are extracted, nothing font-derived is stored on your server. Variable Fonts Full control over variable font axes (v2.1+): Font management & WordPress Font Library Manage every font source from one screen: upload webfont kits (MyFonts, Font Squirrel, or bare font-file ZIPs — the stylesheet is generated for you), connect Adobe Fonts projects, define fonts your theme or CDN already loads, and use WordPress Font Library fonts directly from the editor's font picker. Uploaded fonts can be registered into the WordPress Font Library (WP 6.5+) with one click — reversibly, and without ever breaking existing content. Fonts load intelligently, only on pages that use them. Expressive type that stays accessible Complex inline typography usually comes at a cost: the span elements needed to style individual characters can make screen readers read words in fragments or skip them entirely. Typography Stylist is built around not paying that cost. The custom Typography Stylist block uses a dual-heading pattern — a clean semantic heading for assistive technology, a styled version for visual display — so the document outline and screen-reader experience stay intact no matter how elaborate the visual type gets. When you style partial words in standard heading blocks, the plugin detects the risk and offers a one-click conversion to the accessible block (the warning adapts when conversion isn't possible, and can be disabled in Settings → Typography Stylist → Accessibility). Key Features Supported OpenType Features Ligatures: Perfect For Recommended Fonts This plugin requires fonts that support OpenType features. Many premium script fonts and professional typefaces include these features. Examples: How It Works For Headings
  1. Create or edit a heading block (H1-H6)
  2. Type your headline text
  3. Select the text you want to style
  4. Click the "Typography Stylist" button in the toolbar (a swashy "T" icon)
  5. Toggle features and adjust controls — changes apply instantly to your selected text, with live preview (press Ctrl+Z to undo)
  6. If your selection breaks a word boundary, a non-blocking notice appears with a one-click option to convert to the Typography Stylist Block for maximum accessibility (the conversion option is hidden when the block can't be converted, e.g. inside a locked pattern). The notice can be disabled in Settings → Typography Stylist → Accessibility.
How It Works For Custom Blocks
  1. Create or edit a Typography Stylist block
  2. Type your text
  3. Apply any global block settings in the sidebar
  4. Select any text you want to style
  5. Click the "Typography Stylist" button in the toolbar (a swashy "T" icon)
  6. Select individual features and see the live preview
Bundled Third-Party Libraries The Glyphs Panel reads font files in the browser using two open-source libraries, bundled unmodified in glyphs-panel/assets/js/vendor/. They are loaded on demand (only when you open the Glyphs Panel) and run entirely client-side; no font data is sent to any server. See BUILD.txt for build and source details. Source, Docs & Support Enjoying the plugin? A short review helps other type lovers find it.

安装:

  1. Upload the plugin files to /wp-content/plugins/typography-stylist, or install through the WordPress plugins screen
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Go to Settings → Typography Stylist to view available features and presets
  4. Start using the typography features in the block editor!

屏幕截图:

  • Inline editor on a heading block — toggling Swashes (swsh) with live preview, applied instantly to the selected text
  • Quick Feature Toggles inside the Typography Stylist block — per-selection controls, here setting a different variable-font weight for one word
  • Typography Stylist block with sidebar controls — a variable font's Weight axis slider replaces the discrete weight dropdown
  • Per-font variable axis configuration — axes detected from the font file, with ranges and WordPress Font Library registration
  • Font Features preview in the admin — every OpenType feature previewed with your own text in the selected font
  • The unified font list — uploaded kits, Adobe Fonts, and WordPress Font Library fonts with Variable and registration badges
  • The block's Accessibility panel — the screen-reader class behind the dual-heading pattern that keeps styled text accessible

升级注意事项:

2.2.2 Adds fit-to-width sizing (each line fills the block width, zero frontend JS), scopes Quick Feature Toggle axis changes to the selected text, and fixes Font Library-registered fonts falling back to system fonts on the frontend. 2.2.1 Fixes variable-font axes being mixed up between fonts uploaded in the same ZIP. If a font is showing the wrong axes, open Settings → Typography Stylist → Custom Fonts and use "Detect Axes from Font File" to repair it. 2.2.0 Font Style (visual italic) controls, italic-aware previews and glyph browsing, and a major editor-reliability batch — selections, conversions, glyph alternates, and variable-font axes all behave predictably now. 2.1.2 Newly added fonts now enable only the weights they actually ship, with a one-click auto-detect for existing fonts; also fixes Glyphs Panel browsing for variable fonts from font-only ZIPs. 2.1.1 Re-release of the 2.1.0 feature set with corrected packaging — the 2.1.0 download never contained the new files. Update to get variable fonts, font-only ZIP uploads, and WordPress Font Library integration. 2.1.0 Font kit uploads now accept ZIPs containing only font files (e.g. Google Fonts downloads) — the @font-face stylesheet is generated automatically from the fonts' metadata. Adds WordPress Font Library integration (register uploaded fonts, adopt Library fonts in the editor), variable font support, and a typost_force_enqueue_font_ids filter for theme-driven font loading. Also fixes Adobe/custom/Library fonts not rendering inside the iframed block editor canvas. Existing content and settings are preserved. 2.0.1 Fixes mixed-content blocking of locally-hosted fonts in the Glyphs Panel on HTTPS sites.

常见问题:

Do I need special fonts?

For features like stylistic sets, this plugin requires fonts that support OpenType features. Most premium script fonts and many professional typefaces include these features. Free fonts may have limited support. Letter-spacing, line-height, and other non-opentype features will work with any font.

Will this work with any font?

The plugin will work with any font, but you'll only see results for stylistic sets or ligatures if the font includes the OpenType features you're trying to use. Check your font's documentation for supported features.

Does this work with Google Fonts?

Some Google Fonts support OpenType features. Check the individual font's specimen page for feature support.

Can I use this with custom web fonts?

Absolutely! There are three ways to make fonts available in the plugin:

  1. Upload webfont kits from MyFonts, Font Squirrel, or other providers using the plugin's Custom Fonts tab
  2. Connect Adobe Fonts (Typekit) by pasting your project's embed code
  3. Define custom fonts loaded through your theme, plugins, or CDN (like Google Fonts) so they appear in the editor's font dropdown
Beyond these, the plugin can apply OpenType features to any font already loaded on your site (for example via @font-face in your theme) even without selecting it from the plugin's dropdown. Previews in the admin settings page only work for fonts uploaded or connected through the plugin.

How do I upload custom fonts?

  1. Go to Settings → Typography Stylist → Custom Fonts tab
  2. Click "Choose ZIP File" and select your webfont kit ZIP
  3. Click "Upload Font Kit" — font names are read from the kit itself
The plugin will extract the fonts and make them available in the editor and preview selector. This has been tested with kits from MyFonts and Font Squirrel, and with bare-font downloads from Google Fonts. A stylesheet inside the ZIP is not required: if the kit contains only font files, the plugin reads each font's built-in metadata and generates the @font-face CSS automatically — including the weight range of variable fonts. For WOFF2-only ZIPs the family and weight are detected from the filenames (WOFF2 metadata cannot be read on the server), and a warning asks you to review the result. The available font weights are detected automatically when a font is added (v2.1.2+): only the weights the font actually ships are pre-checked in its "Available Font Weights" settings, so the editor's weight dropdown offers real options from the start. You can adjust the checkboxes at any time.

How do I add Adobe Fonts?

  1. Go to Settings → Typography Stylist → Custom Fonts tab
  2. Scroll to "Adobe Fonts (Typekit)" section
  3. Enter a project name
  4. Paste your Adobe Fonts embed code (the tag)
  5. Optionally enter font family names for the preview selector
  6. Click "Add Adobe Fonts Project"
Make sure your domain is authorized in your Adobe Fonts project settings, if applicable. The fonts will load directly from Adobe's servers.

How do I define custom fonts from my theme?

If you have fonts already loaded through your theme, another plugin, or a CDN:

  1. Go to Settings → Typography Stylist → Custom Fonts tab
  2. Scroll to "Custom Font Definitions" section
  3. Enter a display name for the font
  4. Enter the exact CSS font-family value (e.g., 'Playfair Display', serif)
  5. Optionally add fallback fonts separated by commas
  6. Click "Add Custom Font"
The font will be available in the block editor font selector, although features will not be available for preview on the admin settings page.

Can I set fallback fonts?

Yes! For any font source (uploaded, Adobe Fonts, or custom definitions), you can specify fallback fonts. These will be used if the primary font fails to load. Fallbacks are automatically included in the CSS font-family declaration.

Is this plugin accessible?

The plugin includes accessibility features for screen reader compatibility:

  • Inline Format Notices: For rich text blocks like headings, the plugin detects when you select partial words (which can fragment text for screen readers) and shows a non-blocking notice with a one-click option to convert to an accessible Typography Stylist block. When the block cannot be converted (e.g., inside a locked pattern), the conversion option is hidden automatically. The notice can be disabled entirely via the "Disable Word Boundary Warning" option in Settings → Typography Stylist → Accessibility.
  • Typography Stylist Block: Custom block designed for complex typography that includes markup with screen reader-accessible text
  • ARIA Label Support: Optional setting to add aria-label attributes to inline formatted text (Settings → Typography Stylist → Accessibility)
  • Screen Reader Classes: the Typography Stylist block uses configurable classes (visually-hidden, sr-only, or custom) to hide styled text from screen readers while providing clean text as an alternative
  • Dual Content Approach: The block provides duplicate content - one version styled for visual users, one clean version for assistive technology

How do the accessibility features for the block work?

The Typography Stylist block creates two versions of your text:

  1. For screen readers: Clean, unformatted text in a semantic heading element (H1-H6) with the visually-hidden class applied. This maintains the document outline and heading navigation for assistive technology users.
  2. For visual display: Styled text with aria-hidden="true" to prevent screen readers from reading fragmented content with complex OpenType features.
This approach provides both styled visual presentation and screen reader compatibility while preserving semantic document structure.

Will the alternate text presented to screen readers cause duplicate content issues for SEO?

Google explicitly recognizes hidden text for accessibility as legitimate (not cloaking/spam). The content is identical in both headings, signaling genuine accessibility use. This dual-heading pattern is a well-known accessibility technique.

Should I use the inline format or the block?

  • Use Inline Format when applying features to complete words or phrases in existing heading blocks
  • Use Typography Stylist Block when you need letter-by-letter styling, complex typography, or maximum accessibility control
If an inline selection might cause accessibility issues, a non-blocking notice suggests converting to the block — your changes still apply either way. The notice can be disabled entirely in Settings → Accessibility.

What file formats are supported for font uploads?

The plugin accepts ZIP files containing:

  • CSS files with @font-face declarations (recommended, used as-is)
  • Font files: WOFF, WOFF2, TTF, OTF, EOT A CSS file is optional — ZIPs with only font files work too; the stylesheet is generated from the fonts' metadata.

Is font upload secure?

Yes! The plugin implements multiple security measures:

  • File type validation
  • ZIP extraction security
  • Path traversal protection
  • CSS sanitization
  • 10MB size limit for uploads
  • Secure storage with .htaccess protection

Is this compatible with page builders?

This plugin is designed for the WordPress block editor (Gutenberg). Compatibility with page builders depends on their implementation of rich text formatting.

Will this slow down my site?

The plugin uses CSS font-feature-settings which is hardware-accelerated in modern browsers. Performance impact depends on font file sizes and loading strategy. The plugin includes JavaScript in the block editor but uses only CSS for frontend rendering.

How do I know which features my font supports?

Check your font's documentation, or use the plugin to experiment. Features that aren't supported simply won't affect the text. The Glyphs Panel shows exactly which OpenType features a font contains — and every glyph behind them.

Do variable fonts work?

Yes. When you upload a variable font, its axes (weight, width, slant, optical size, or any custom axis) are detected automatically from the font file. Each axis gets a slider in the editor — in both the inline editor and the Typography Stylist block — and the output is standard font-variation-settings CSS. Axis detection reads TTF/OTF files at upload time; for WOFF2-only kits, use the "Detect Axes from Font File" button in the font's settings (which handles WOFF2 in the browser) or define axes manually.

What does registering a font in the WordPress Font Library do?

On WordPress 6.5+, uploaded font kits can be registered into the WordPress Font Library (Appearance → Editor), individually or in bulk, from the Custom Fonts tab. Registered fonts become available to the site editor like any Library font, WordPress serves their files (no double-loading), and the plugin's font variables keep pointing at them — so existing content never breaks. Registration is optional and fully reversible. Adobe Fonts and custom font definitions stay plugin-managed by design (Adobe fonts load from Adobe's servers and may not be self-hosted).

Where can I get beta versions or report bugs?

Beta builds are published as pre-releases on the plugin's GitHub Releases page — download the attached zip and install it via Plugins → Add New → Upload. Bugs are welcome on the GitHub issue tracker or the WordPress.org support forum.

更新日志:

2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 2.1.0 2.0.1