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

Adding 2bpp to Import and Export in Font Editor #359

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

r3n33
Copy link
Contributor

@r3n33 r3n33 commented Mar 12, 2024

No description provided.

Copy link
Contributor

github-actions bot commented Mar 12, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@r3n33
Copy link
Contributor Author

r3n33 commented Mar 12, 2024

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Mar 12, 2024
@r3n33 r3n33 marked this pull request as ready for review March 12, 2024 17:42
@@ -404,10 +439,22 @@ void PageDisplayTool::on_fontEditImportButton_clicked()
QImage img(w * charNum, h, QImage::Format_ARGB32);
img.fill(Qt::black);

//TODO: How do I get these colors from the pallet below the view?
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am curious if I can grab the pallet colors from the display editor at this point? I spent an embarrassing amount of time trying to figure it out and I'm not sure if we want to use the pallet colors in case the user is in indexed 2 or 16 format. Advice would be much appreciated!

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on the antialiasing!

If you think it helps to grab and use the palette-colors here I can add some functions to enable that. I just pushed some code that updates the palette when activating anti-aliasing.

@vedderb vedderb merged commit cf8be64 into vedderb:master Mar 13, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants