-
-
Notifications
You must be signed in to change notification settings - Fork 29
FONTSAMPLER labelling fixed - ColumnMajor selectable #2411
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
base: master
Are you sure you want to change the base?
FONTSAMPLER labelling fixed - ColumnMajor selectable #2411
Conversation
Fix the row/column labels to correspond to ColumnMajor selection.
nbriggs
left a comment
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.
Better, but when I try
(FontSample (FONTCREATE 'HELVETICA 10) 357Q NIL 'DISPLAY)
I get a completely blank window. It doesn't produce any output until I have done a (FONTCREATE 'HELVETICA 10 NIL NIL 'DISPLAY NIL 357Q) after which time the font given to FontSample doesn't require the charset specification. Even with the same (new) font code, the old FontSample produced the correct result. If you give the new FontSample a list of character sets and the character set hasn't been previously instantiated it just ignores it -- for example

|
(by "the old FontSample" I mean the code as it existed in 1987) |
Checking for charset *known* to be EQ to the SLUG charset, didn't verify that the font *had* a SLUG charset, so was comparing to NIL, which excluded *all* unloaded charsets.
|
@nbriggs I believe I fixed the issue. If the font didn't have a SLUG charset, then comparing for it was eliminating unloaded charsets. |
|
Why is it doing any checking for slugs? The original idea was that you gave it a font (or list of fonts) and a character set (or list of character sets), an optional printer name, and a stream type, and it lays out a sample sheet using the fonts that the system creates if those values are given to FONTCREATE and you get exactly what the printer would do if you were to use the font on output from any other program... where the "other program" is not going to be looking at slug info or anything else about the font -- just the basic font machinery. If you want to do something different how about naming it something other than FontSample and leaving my FontSample alone. |
My thinking was that, with the new font mechanism, a Just now, I'm realizing that I have been thinking only in terms of |
|
I updated to commit 32c52cd which fixes the issue Nick reported. |


Make the layout orientation, ColumnMajor or not, be selectable.
Fix the row/column labels to correspond to ColumnMajor selection.
Resolves #2408