-
Notifications
You must be signed in to change notification settings - Fork 64
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
Support limiting symbols to a particular vintage character set #110
Comments
Yes! I actually want to implement a |
Nice Workbench 1.3 vibes :-) By the way, you can specify individual glyphs by passing their hex codes to |
Ha. I was going for Atari mode 0 but I got the luminance wrong. |
of course I haven't had enough coffee, because I got that command wrong. THIS is what it should look like with it restricted to Relevant still is that some of those are not supported by certain systems. So the point still stands :) |
Indeed. I'd love to have some help with the research. For instance, I'd accept a PR with an ATASCII table similar to the ones I did for C64/cp437. Or maybe there needs to be more than one table -- I'm not sure what the differences are between the Atari 400 and later models. |
I had a look around the code and docs, but didn't see this. Can you point me in the right direction? |
Ah sorry, I linked to the source files in #110 (comment). They're not used for anything yet, but it's useful to keep adding those so I can integrate them later. |
A HUGE THANK YOU to hpjansson for now restricting chosen glyphs to those contained in the --glyph-file !
Now i can limit the glyphs used from my real font (blapinus) by creating a font containing only the glyphs I want! But... that's a lot of work to create and install a font just to limit the glyphs chafa pulls from! Would anyone consider a patch that reads-in a list of glyph codepoints from a text file, and ONLY uses those? Without the --glyph-file it is impossible for me to set the range that I want explicitly on the command line, using, for example
Fails to include the codepoints I add. It seems to select a few... (?). But none in the PUA range? There ought to be a way for user to specify the exact codepoint ranges to use upon invocation and not get overriden by inscrutable internal program range-selection logic, without creating an entire new font every time he wants to adapt the selection of glyphs... |
It would be a nice addition to chafa to support restricting the characters used to a subset corresponding to a particular computer's character set (for example, PETSCII, ATASCII, Apple II, etc.) While the
vintage
class to symbols and fill is nice, it's not specific enough... If I'm making ATASCII art, I don't want it to include characters that aren't supported by the Atari's limited character set.I'd like to see classes corresponding to the individual computer/terminal types, so as to limit the output to that particular character set. (for example
--symbols=ATASCII
,--fill=PETSCII
)Specifically, characters from each supported character set class would need to be mapped to the appropriate unicode points, and those sets assigned to individual symbol classes. Unscii is a font that might help with this endeavour, as well as displaying the output in a terminal, as it faithfully tries to recreate the pixelated character sets of many retro platforms.
(Related closed issue here)
The text was updated successfully, but these errors were encountered: