You are very close, just on the wrong tab!
Go Settings->Options->Canvas & Legend and set 'Bold group names' to true and 'Bold layer names' to false.
You've got a few other options to play with here too (like capitalising the layer names and displaying the classification attribute names), which might be useful for you too.
ArcMap respects the default font size of the operating system. You can change the font size in your control panel. You can also turn on magnification to make all "Classic" Windows apps larger and more readable.
Assuming you're using Windows 7, you can change this under > Control Panel > Personalization > Window Color.
Choose Item: Icon and the Font Size is what controls the Layers menu size:
This is handy when doing a demo, to ensure the audience can read the contents easily. (Another useful one to change is Menu, so the audience can see what you're choosing in ...
1) You can use TTFQuery as in Retrieving bounding box and bezier curve data for all glyphs in a .ttf font file in python
from ttfquery import describe
from ttfquery import glyphquery
import ttfquery.glyph as glyph
char = "a"
font = describe.openFont(font_url)
g = glyph.Glyph(char) # or g = glyph.Glyph(glyphquery.glyphName(font, char))
A more 'readable' expression to use in the 'data defined override' as suggested by @MrXsquared:
To get the fontname:
array_get(string_to_array( "legenda", '"'), 1)
To get the size:
array_get(string_to_array( "legenda", '"'), 3)
a little explanation:
you can devide the string in logical parts by string_to_array(), with the double qoutes (") as delimiter:...
This has been an issue for a while, ever since the new labeling engine has been used. Recently, the development version of QGIS has a new render setup that allows this bug to be reasonably fixed.
The fixed code changes are up for review for inclusion into the core codebase. When that happens, the feature will be ...
The name of the font is also there with the style of the font, but you need to select the font first to see its name, as you can see below:
In order to see the names, first select the font style, then use the up and down arrows in your keyboard to see font names and not the style.
It is not a convenient solution, but you can use the following code ...
I see you're using LXDE. Do you have any other window managers installed which you can try? Are any other Qt based applications affected?
I suspect this is might be an issue with Qt and your window manager than QGIS specifically, so if this doesn't work you might want to try on Ask Ubuntu or SuperUser.
You could try changing the font in the settings > ...
I set font-size in a surrounding span when font size alone didn't do the trick
<span style="background-color:%s; padding: 5px; font-size: %spx;">
<font face="%s" color="%s">%s</font>
I put my comment as an answer:
You need to set up the environment variable,export QT_QPA_FONTDIR=<path to font files> for example export QT_QPA_FONTDIR=/usr/share/fonts/open-sans
But when using fastcgi you have to do something like: @geraldo
fastcgi_param QT_QPA_FONTDIR "/ usr / share / fonts / open-sans"
SetEnv QT_QPA_FONTDIR / usr ...
Figured out a working expression. Hope this covers all your cases. Maybe there is also a more elegant solution. First use data defined override:
enter your individual expressions.
In "Font" it is:
substr(substr(regexp_substr( "label",'FNT name(.*?)size'),4),0,length(substr(regexp_substr( "label",'FNT name(.*?)size'),4))-2)
and in "size" it is:
Adding fonts to Debian should generally be done at the 'local' or user level, instead of the system. You should copy them into /usr/local/share/fonts (for all users) or ~/.fonts (for a specific user).
Reference the official font docs on how to load fonts and ensure they are actually being loaded by fontconfig. If rebuilding the font cache, i.e. fc-cache -fv,...
No, there is no such standard. You use whatever is both relevant and readable. Size of font can often relate to the importance of the feature and so will probably vary in labeling of different layers (though too many font sizes can look 'uncomfortable' and should be avoided). Likewise symbol size is often used to denote importance or some quantity, so ...
Never tried myself, but it seems you can do something in the menu Customize -> ArcMap Options.
Here you'll find a Data View page where you can set the fonts for the labels.
A similar option is also present fot the Tables page.
This won't basically change your fonts "application-wise", but for labels and tables only.
You might try creating a file with the same base name as the shapefile but with a .cpg extension, containing a single line of text identifying the encoding, be it UTF-8 or something else. I am not sure if this will resolve the problem with QGIS, but I have had some success with this method to force multi-byte characters in attribute data to be interpreted ...
This was determined to be the issue to this problem. It will be marked as the answer soon. When using format tags make sure they close from inside out. Thanks to @kenbuja for clarifying that.
NOT "<bol><clr green='255'>"+lab4+"</bol></clr>"
In the Shapefile itself it is not possible to save any layout values, as it does not have these options.
With ArcGIS it is not possible to change the look of a single column or value, it is always for the whole table.
In QGIS you can do a bit in that direction by using conditional formatting. There you could take other fonts or colors for different values,...
Your output suggests that your script found a layout element of type text element in each of three maps, and that it moved each of them.
When working with layout elements I think you would be wise to give each of them a unique name on their Size & Position tab so that you can use their name property (e.g. elm.name) to access them.
I'm not clear from ...
Expanding on my comment, start off by getting the different sections of the label you wish to be in different colours/fonts into separate columns in the attribute table. In the layer properties "Labels" tab choose "Rule-based labeling' from the drop-down. Now for the slightly tricky part.
Create a new rule for every word you want to be different. In the "...
Assuming you are using ArcGIS for Desktop, in Labels>Expression>Help section states that you need concatenate HTML tags with field specifiers to be able to do such tricks:
Specify a conditional if-else statement. These functions label cities
with their name in a large, red font if their population is equal to
or exceeds 250,000 and in the default ...