Git Product home page Git Product logo

Comments (3)

rricharz avatar rricharz commented on July 24, 2024

You are making an extremely valid point here, and I have spent several days experimenting with more realistic, pixelated fonts on a number of displays. There are some realistic scalable 5x7 monospace true type fonts available, which could be used, or a font for tek4010 could be designed by somebody having experience with scalable font design. But there are 3 reasons which made me use a non-pixelated font:

  1. You are certainly aware that the 4010 screen had no pixels, but the coordinate system for drawing vectors had a resolution of 1024x780 so called tek points (4096x3120 on the 4014 with the extended display module). Reading page 2-2 of the 4010 Maintenance manual I understand that the 5x7 character matrix dots were not fitted into tek points. As far as I understand the character generator had its own deflection mechanism with its own calibration. Therefore, emulating this exactly on a modern dot matrix display would require to use a resolution which is a multiple of the character points. This would then lead to undesirable effects because tek points would not fit exactly into the dot matrix points. Evenly spaced dots and lines would show up not evenly spaced on the display, unless you are using a very high resolution display. So we would trade a better character display for a worse vector display.

  2. The problem is worsened by the 3 additional much smaller character display modes of the 4014, and by one of the design goals which I had in mind when coding tek4010: That it would work reasonably well on any display the user might have, even if its resolution is below 1024x780 points, and in full screen mode for any display, whatever resolution that display has, as long as the hardware can support that resolution. Of course, on small screens and in full screen mode you always get the problem of unevenly spaced tek points.

  3. Most videos and pictures on the Internet did not show any pixelation effect, and the still working 4014 I had visited to look at the character set did not show them either. The reason for that might well be that the character display circuit, which requires separate calibration, had not been calibrated very well. There are a few pictures on the internet that show a bit of pixelation, but only for certain characters, most notable the X.

So I decided against a pixelated font, because the pixelated fonts I tried did actually not show a more accurate representation of the original at the screen resolutions I had available for my testing.

But if you want a better representation of the actual character display for one given screen resolution, it is easy to install a 5x7 pixelated true type font, and to change line 4 of tube.h to that font. You might also have to change line 235-238, 317 and 332 of tek4010.c if the characters are too large or small. Of course, if you or somebody else comes up with a better font or any other way to improve the character representation I am certainly willing to use it in tek4010. Another way to address the problem at least to some degree would probably be to use bold instead of normal style (line 848 of tube.c). This would make the characters a bit more realistic at the expense of readability.

One last thing: Which font to use might also depend on the situation. I a museum, for example, the exact representation of the original might be the topmost priority, whereas when used for some real work readability and minimal eye fatigue might be more important. Would it meet your needs if I would make the font size and the font style constants in tube.h like the font name, together with a link to an example of a pixelated font?

from tek4010.

rricharz avatar rricharz commented on July 24, 2024

This is an example of using the font "basis33" on my 1920x1080 screen in fullscreen mode. Not perfect, but maybe what you are looking for.
Screen - 1
The small m and x are examples of characters which show the problems best in the smallest character display. The lower the screen resolution, the worse this gets. The original terminal had no such problems, because it was not a dot matrix display.

from tek4010.

rricharz avatar rricharz commented on July 24, 2024

Version 1.4.1 allows to use any scalable true type font by changing the font name and font size in tube.h and recompiling the program.

from tek4010.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.