-
Notifications
You must be signed in to change notification settings - Fork 4
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
Font and style #173
Font and style #173
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems fine but the executable doesn't run on my machine.
Did you test that too, please?
Yes i did. Did you build it yourself or did you use one from the CI build ? |
Used the executable from CI. |
You may also use |
The path |
Have you tested something like this, please?
The |
Yes it was i changed it back to the original version |
Yes i tested that, the problem is that the fonts are not downloaded when the .exe starts, so the font can not be found. I am currently working on including the fonts in a binary file and using AddFontFromMemoryTTF. |
I've not used custom fonts before but if you download the font and put it in the related folder, just like the |
Included it as a binary file. It should work now. |
These're a few remaining notes at once:
As well as, |
Thank you for the review. I will change the datatype of the font data. I tried using the method you suggested for the Font_Header before, the same way we use it for the images but it did not work. The Error i get is :
I defined the header with ifndef and define and included it. |
Presumably you've not used |
Thank you! Done that, it works now. |
Great! |
Could you explain why that is a better solution? |
|
Done. |
Here's my header:
|
Added a new Font and changed the corresponding submodule ImGuiInstance to the version where a different font is possible.
Changed the fixed fontsize in the config to match the new Font when the application starts the first time.
Added a different AI Logo for the OmnAIScope and changed its size.
Changed the colors in the application to match the logo and the overall design more.
The expected output looks like this:
The initial fontsize will be to large when the application first starts because it currently downloads the config from the master branch. This will be fixed when this PR is merged with the master.