HN user

magios

41 karma
Posts0
Comments29
View on HN
No posts found.
GNU Unifont 7 months ago

i use 1920x1080 screen res as i see no point to any higher res.

GNU Unifont 7 months ago

because i prefer monospaced pixel fonts, tho the underlying engine requires the ttf and now otf font, which is a vector format in order to render.

GNU Unifont 7 months ago

i use this font system wide, forced as the only font in firefox, with web or downloadable fonts disabled. i also have my some of my own characters in csur, the conscript unicode registry, that is mapped to u+e000 thru u+f8ff so the unicode codepoints used by random webpages for various glyphs show up as my own. qt is a pain to use sometimes with unifont only but iirc QT_FONT_DPI=128 environment variable fixes that. i just wish i could get unifont only to work in games like rimworld.

unifont has cjk support, bitmap fonts work just fine for the integer domain. been using unifont system and app wide for some integer number of years now. i believe the only app that i use that does not have unifont is the game rimworld, but i haven't investigated to see if there's any fix for that. for qt based apps i believe you have to use the environmental variable QT_FONT_DPI=128 or something similar, where the 128 is double the DPI, which may be some bug that i got around that may be fixed now

another thing to block in firefox userContent.css as there doesn't appear to be an option for it in about:config

on a 1920x1080 display using bitmap fonts or their equivalent where each cell is 8x16, then three tiled windows without borders are 80 characters wide. font used is unifont, i3 window manger, xst terminal, vim, etc.

if i had a 2560x1440 display, i'd use four 80 character wide tiled windows.

i agree, that is a problem, mainline linux and working drm, that is direct rendering manager, drivers should exist before release of the product.

well, if the soc is the same, thus same cpu, gpu, and npu, kernel and userspace support should be also roughly equal, tho the device tree will differ between the two devices. i do agree that many of these sbc computers have poor initial support and many end up remaining that way. perhaps we should be requiring that mainline linux support, and working drm drivers, for gpu, exist before the product is released.

$150-$180 seems expensive for 4gb ram and 16gb flash when you can get an sbc with the same soc, the sipeed licheepi 4a with 16gb of ram and 128gb flash for $180, or $120 for 8gb ram and 8gb flash, or $135 for 8gb ram and 32gb flash

thinkpad 760xl here, svga+ screen, 166mhz pentium mmx, 64mb of ram, 2.1gb hdd, typically use it as a dos machine, tho it does have old slackware linux installed. if you still have the laptop, hold on to it, or if you don't want it, please give it one of the many retro groups who can maintain and keep these things going.

this is why I have downloadable or website fonts disabled and in browser, use a singular monospace bitmap font, unifont, and across the entire system. you can do this with your preferred font. also eliminates any risk of security due to font parsing issues.

my solution to beat the tab accumulation problem is to have firefox simply close all tabs, clear browsing and download history, clear form and search history, and clear cache upon the user choosing to close the program. if the browser or computer crashes the tabs and everything else still exist. if a site meets your interests, bookmark it. note that cookies remain but are usually cleared periodically. also you can setup a folder of bookmarks, or a new tab page, that you can open up everyday and check the websites you want.

Khadas Edge2 Pro has 16GB of RAM, $340 tho, available now, even from amazon. Radxa ROCK 5B also has 16GB of RAM, $220, available via ameridroid. Jetson Orin NX 16GB has 16GB of RAM, $600, available in Dec, would probably also require a carrier board of unspecified price.

as others have mentioned, the raspberry pi 4 is pretty slow at decoding video, but the 4gb or 8gb does work well as a single or dual screen development computer. however, I have have been using a jetson tx1, and later tx2 dev kit as my computer since 2016, as those were better than what was available at the time. i also use a jetson nano 4gb, with patched mpv to play one or more 1080p60 videos with acceleration, local or streaming with no issues. i assume the jetson 2gb would work similarly, just use a window manager like i3 on the raspi4 and jetson boards. also I believe the upcoming orin nx boards with 6 core with 8gb and 8 core with 16gb lpddr5 will very nice.

as usual, it is up to personal preference, but I've used Unifont, specifically Unifont CSUR, a bitmap font, tho in ttf form, as my sole font across the system, terminal, vim and web browser (firefox) which allows me to enforce a singular font in webpages by disabling font downloads, rotation and scaling. for me, it appears that having text align to a grid and not have any annoying ligatures or oversized characters makes it more readable.

note that you can replace the mouse in X using xdotool to do mouse pointer movements and mouse clicks if your window manager, such as i3, supports it. specifically you are looking for xdotool mousemove_relative. movement is in integer amounts specified by parameters.

sorry for the late reply, also forgot to mention that I use a fontconfig file, .xresources, other config files for i3 (the tiling wm), termimal (xst) and vim that specify the unifont font specifically.

here are a few images showing the setup and sites using unifont. https://imgur.com/a/5gAZau3

I actually use a slightly modified unifont exclusively on a linux system, deleted all other fonts, disabled browser font downloading, and use firefox to get proper rendering. If you use a tiling wm, without borders or spaces between windows, then three windows of 80 columns of 8x16 font works.

on linux I installed unifont, a singular bitmap font of size 8x16, that covers most of unicode, moved all other fonts, modified fontconfig to use only that font, disabled bold and italics, switched from chrome to firefox, changed about:config settings in that browser and use a userChrome.css where required.

This allows me to have the same font everywhere for easy readability, some sites have text overflow issues because of the bitmap fonts, other sites display the glyphs in the U+F000 to U+FFFF private use area range due to those sites using those codepoints to display arrows, boxes, and such, or sometimes other glyphs that are already covered in unicode.

for some extra info, using a 1920x1080 monitor in landscape or horizontal orientation, on linux, using i3 window manager and xst terminal emulator, you can open up 3 terminals in portrait or vertical orientation, each would have a width of 80 characters (8x80x3 = 1920) and a height of 67 characters with 8px left over.