Patch for 6pt and 7pt font size support
Notepad++ project is moving to GitHub:
Brought to you by:
donho
File: PowerEditor\src\Parameters.h
From:
const TCHAR fontSizeStrs[][3] = {TEXT(""), TEXT("8"), TEXT("9"), TEXT("10"), TEXT("11"), TEXT("12"), TEXT("14"), TEXT("16"), TEXT("18"), TEXT("20"), TEXT("22"), TEXT("24"), TEXT("26"), TEXT("28")};
To:
const TCHAR fontSizeStrs[][3] = {TEXT(""), TEXT("6"), TEXT("7"), TEXT("8"), TEXT("9"), TEXT("10"), TEXT("11"), TEXT("12"), TEXT("14"), TEXT("16"), TEXT("18"), TEXT("20"), TEXT("22"), TEXT("24"), TEXT("26"), TEXT("28")};
Cheers
Michael, AppleWin Developer
This is great !! Just what I was looking for.
I have made the change and compiled the software again, and now I can print code in a smaller font, so most of the lines do not wrap to the next line anymore.
another great feature (in line with your proposed change) would be to enable a global fontsize that is only applicable to the print command. so "on screen" 10pt size (or whatever you prefer) and when printing the text, print it in 6pt or whatever you defined in the print preference
so modifying the IDD_PREFERENCE_PRINT_BOX and put an option below the header and the footer for global font size and I think I will have to retrieve that font size then inside the printer.cpp
I will see if I can come up with something.....