-
Notifications
You must be signed in to change notification settings - Fork 1
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
color palettes #7
Comments
I like the colors in use. If you like to play with the used colors, check the file CairoColourTheme.hpp https://github.com/brummer10/ToneTwistPlugs/blob/main/plugins/CairoWidgets/CairoColourTheme.hpp#L219 that's were the general colors been set, it's the cairo RGBA format. https://github.com/brummer10/ToneTwistPlugs/blob/main/plugins/MetalTone/UIMetalTone.cpp#L23 If you need a Color Picker to get the cairo RGBA data from a pallet, here is the one I use: https://github.com/brummer10/CairoColorPicker as you are used to compile those plugs yourself, the CairoColorPicker should be a easy task for you. |
never heard of cairo?? |
so is that the default
and thats the default overridden with new values for Metal Tone? |
exact. it is used by a widespread amout of apps and widget toolkits like Ardour, LSP plugins, GTK3/4, . . . |
right... do you have github actions on? can i just copy and paste in some values and have it automatically build and check it out? |
Github action works on this repository, but you cant write to it. |
and how do i go about changing the font before i start doing this? |
All widgets been located in the folder plugins/CairoWidgets/
you will find this line in every widget. "Sans" set the font to use. |
and where do i store the fonts so it can be accessed by the program |
You must install the font as usual for fonts: |
yeah but how do i pack it inside the plugin |
You don't. |
wait are you thinking of a .deb package? im thinking of building it as a .clap with the font inside, why cant a font be stored as an asset i am confused |
No
because cairo_select_font_face() looks only for installed fonts, it's not possible to load a font from asset into cairo. |
so this is a limitation of your chosen framework cairo. may i ask why cairo cant select a font that its an asset folder? |
wheres the cairo github, i want to link this issue |
You got it wrong. What I said is that cairo_select_font_face() can't load a font from asset. To do so one have to use the cairo glyph api. |
no i understand i was just asking where the github was so i could make an issue request but apparently i dont need to because they have an api. still, i'll need to see its documentation and i cant find it online for soem reason |
I give you the link already above |
https://colorhunt.co/
using color palettes can make the fonts look prettier than then do now
The text was updated successfully, but these errors were encountered: