Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing the font description #115

Open
ozon85 opened this issue Nov 23, 2021 · 0 comments
Open

Managing the font description #115

ozon85 opened this issue Nov 23, 2021 · 0 comments

Comments

@ozon85
Copy link

ozon85 commented Nov 23, 2021

Hello.
I needed to change the font size in TfpgListbox and found out that a solid string of parameters (fontdesc) is used to describe the font. My cursory search of the fpGUI-develop catalog and your example of 'fontselect' gave me the idea to write some object that makes it easier to change the parameters in the font description line.
If there are still no internal methods, I suggest code for convenient font management.
It is based on your TfpgGDIFontResource.openfontbydesc method

fontdescformat.pas.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant