Is it possible to use a font directly from resources in Delphi and how?
I have a problem with the very first steps.Example I cannot include Segoe UI Light font in resources of a project,an exception occurs.And that is only if the file's extension is 'ttf'.
If the written above is not possible then how do I use an external font without deploying the font separately(from executable)?
Thanks in advance!
To use external fonts in CSS, download desired fonts from any font repository and add them into the CSS file using the @font-face rule which specifies a certain name to the custom font and point to the font file by giving the url to the src attribute.
On Windows 2000 and later, you can use AddFontMemResourceEx to install fonts for your process from memory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With