# A guide to WindowBlinds fonts in SkinStudio

### How does one define a font to use for WindowBlinds.

Originally posted on Wincustomize.com

I find a lot of users having problems with how fonts are defined in a WindowBlinds skin. It’s quite simple once you understand it how it’s done.

WindowBlinds bases on the premise that most of the skins use just a small number of font variants but use them in a number of places, meaning that one font setting will be used in a number of places like a push button, a tab, a status bar.

A font setting in SkinStudio is called “font preset” and is a set of font name, size and formatting as well as its shadow settings. When you think of it in the terms of any word processor a font setting is not different from “styles” used e.g. in Microsoft Word. And they are equally as useful! in contrast to MSStyles where you define the font for every control or its sub style in WindowBlinds you only define it a few times and then use them in multiple places.

What’s better… if you decide to change the font in a style, do it only once for the style and WB will change it everywhere the font is used! Let me show you how it’s working on a sample skin for a push button.

Every control section has a font setting (at least one) in most cases grouped in the “Fonts” subgroup in its section section.

selection one of the attributes in the group allows you to select one of the preselected fonts from the bottom combo box as shown in the above picture. Now what if you want to edit the preset and change it?

You can simply press the “Edit this font” button as in this figure:

and SkinStudio will take you to the appropriate section.

But this will change all the elements that use the preset! So if you only want to change it in this one situation or only this one control, you need to create a new preset. You can do this by either pressing the “Add new font” that will create a new default “Arial” font preset or you can choose the “Duplicate this font” that will create a new font preset identical to the one that is currently selected. Obviously you will choose the second option if you want to make the font slightly different, e.g. bold-ed for pressed state or slightly bigger or smaller. Both options will also automatically assign the newly created font preset to your selected control/attribute.

One nice thing which is probably not known by even some advanced artists is that WB will try to be smart if you won’t assign all of the fonts. For instance you can assign only the Normal font and WB will use that for all states. Now if you choose to assign another font for pressed state you only define this new state and WB will use the “pressed font” for pressed state and the “normal font” for all the rest. the fonts marked as (WB 3x) are only there for compatibility with already discontinued WindowBlinds 3 versions as some skins from the old days still use them, but there is no need to define those.

Now that you have a new preset defined it would be a good idea to modify it to your liking. If you select the attribute using the said font preset and press the “Edit this font” button SkinStudio will take you straight to the font.

Now if you have the “Font – face” attribute selected – SkinStudio will provide you with a convenient font editor in the lower panel. It’s a good idea to define the “Font name” attribute to something that is descriptive for you. It’s your “style name” speaking in the MS Office nomenclature again and it will be displayed in the combo box while you’ll be selecting the presets for your controls.

You may wish to explore and experiment the “Shadow” subsection as a homework :)

There are more fonts to WindowBlinds that are not defined in this very way like titlebar fonts. Those are defined in their respective sections.

The other type of fonts are the system fonts. Those are the fonts that you can define for the “classic” look in the Display Properties as you’ve been able to do since Windows 95.

WindowBlinds allows you to define those fonts in the skin as well in a sepearta place although in a very similar way.

The skin can define all 6 system fonts in the same way. The presets are defined in the same way although they do not share the same preseyts pool as the regular fonts preset.but rather attach their sections below the “Miscellaneous”->”Fonts for classic widgets” section.

Now as I have suggested in one of my previous articles it’s best to define the font size in negative values for the size of those fonts:

If you use the classic widget fonts referenced from section “Miscellaneous”->”Fonts for classic widgets” and defined as subsections to the section, make sure you specify the font sizes in negative values. Should you fail to do this, all kind of bad things may happen. Firefox will look bad. Outlook 2003 will most probably have problems and applications are liable to have some of their fonts blown out of the proportion.

But as we’ve investigated with danilloOC, probably the best idea would be not to define them at all as they tend to cause problems with some cross platform apps like OpenOffice or Firefox which does not seem to know how to handle the Windows fonts properly. Your experiences may be different though or the application may have been improved since then, but be sure to check it out before you publish your skin.

(No Ratings Yet)
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8067307472229004, "perplexity": 1069.2950738579661}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2019-22/segments/1558232257660.45/warc/CC-MAIN-20190524144504-20190524170504-00549.warc.gz"}