Forum > Operating Systems

to detect the default/standard font of the OS/Widgetset

<< < (5/5)

After installing new fonts in Linux you must update the cache:

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---fc-cache -fv
Did you do it?



--- Quote from: Thaddy on August 30, 2019, 01:33:47 pm ---If your application relies on a font being present it may be a better idea to include the font as a resource.

--- End quote ---

And maybe even introduce an option where user selects a font explicitly with TFontDialog.


[0] Message Index

[*] Previous page

Go to full version