

The font was the literal mechanism of printing a letter or what you have to own to imprint letters. When early printers laid out a page of text, they used individual lead blocks, called “sorts,” for each letter, which they called “glyphs.” The blocks were held together by a frame, coated in ink, and imprinted on a page like a stamp.Ī font was the collection of blocks-capital letters, lowercase letters, punctuation marks, etc. To understand the difference between the terms, you have to remember some typing history. What is the difference between font and typeface? It’s the most common question in typography. If you aren’t yet confident in working with theme.json, my free Theme.json Explained course is the way to go.Typography is a major part of modern graphic design, but most font terminology comes from the 15th century! Use our quick guide of typeface terms as your cheat sheet to typography. The ability to managed these settings is just one of the many features that you can configure with theme.json. There you have it! All you need to know about typography settings in the block editor. "typography": Code language: JavaScript ( javascript ) Closing To define custom font sizes in your theme, add the following JSON snippet under the settings key of your theme.json file. The units available to set the font sizes can be configured through the spacing setting in theme.json. If you want a font size that is not preset, you can use the font size picker. The screenshot above shows the default WordPress font size palette, which ranges from 13px to 42px. The numbers in the size selector correspond to the font size defined in theme.json, with the unit removed. The font size name (see 2) shows the name of the font size.The font size selector (see 1) allows users to select a font size.The font size selector interface element has been changed several times, and this is its current implementation in WordPress 6.0: Select from a set of predefined font sizes.Only paragraph blocks support drop caps, and they are enabled by default. This typographic style is used for the opening paragraph of a text or section to add emphasis. Controlling drop capĪ drop cap is a large capital letter. So what do these settings allow you to do? Let’s go through them. To show the other settings, you have to enable them as shown below. Only the font size selector is always present. The default is not to show all these settings. The typography settings panel of the Paragraph block. When you select a block that supports rich text, the Block Inspector will show a Typography panel. Disable appearance (font weight and font style).How to disable the typography settings?.Controlling appearance (font weight and font style).If you’re not familiar with how to use theme.json to configure a theme, you can take the free Theme.json Explained course. The code snippets in this article use the theme.json file.
