mirror of
https://github.com/ForLoopCodes/legacy-notepad.git
synced 2026-04-26 12:25:50 +03:00
[PR #19] [MERGED] Fix font style selection ignoring user-selected weight/italic/underline #24
Labels
No labels
bug
bug
documentation
enhancement
good first issue
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/legacy-notepad#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ForLoopCodes/legacy-notepad/pull/19
Author: @Copilot
Created: 2/4/2026
Status: ✅ Merged
Merged: 2/4/2026
Merged by: @ForLoopCodes
Base:
main← Head:copilot/fix-technical-font-display📝 Commits (4)
3ecd82bInitial plane3371d7Fix TECHNICAL font not displaying Regular style correctlyff7c261Final documentation and summary437b76eUpdate .gitignore to exclude build artifacts📊 Changes
4 files changed (+12 additions, -2 deletions)
View changed files
📝
.gitignore(+2 -0)📝
src/core/types.h(+3 -0)📝
src/modules/dialog.cpp(+6 -1)📝
src/modules/editor.cpp(+1 -1)📄 Description
Font dialog selections were ignored during font creation. Selecting "TECHNICAL Regular" rendered as Bold because
CreateFontWalways used hardcodedFW_NORMALinstead of the user's chosen style.Changes
fontWeight,fontItalic,fontUnderlinefields to persist font attributeslfWeight,lfItalic,lfUnderlinefromChooseFontWresultCreateFontWBefore/After
Affects all fonts with multiple weight/style variants, not just TECHNICAL.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.