Live data from Hacker News

Tofu – The opposite of a font

github.com

31–40 of 66 posts

Re: Tofu – The opposite of a font

#31

Earlier quoted context omitted.

It depends on your setup. The default when no size is given is to use half the RAM.

Half? That seems kind of excessive. Are you sure that’s right?

I would guess that it’s given that capacity, but the memory is allocated lazily.

Re: Tofu – The opposite of a font

#32
That's great! When I first started trying to learn Chinese, I had a problem because I couldn't read the characters and sometimes couldn't copy-paste from some apps. I made a font that was similar, and then I could use the Unicode Hex Input keyboard. Your font looks so much better though!

Re: Tofu – The opposite of a font

#33
post #7

how would one go about running code/operations on ram as opposed to the hd?

On most Linux distros, /tmp is a ramdisk.

No.... some, sure. Not most.

RHEL7, and all it's derivatives (CentOS, Oracle Linux etc.) don't use tmpfs for /tmp by default, and they are arguably the most used linux distros in the world.

Re: Tofu – The opposite of a font

#35
It is both reasonable and unfortunate that TrueType & OpenType fonts can have no more than 65,535 glyphs. That said, probably the logical font made of multiple physical fonts can be probably made to support all available planes.

Re: Tofu – The opposite of a font

#36
post #29
post #27

Earlier quoted context omitted.

Spinning platter. ZFS with compression is probably helping that.

Your OS is probably caching the file at the virtual memory layer, so it doesn't even have to hit the filesystem at all.

A good lesson not to try to guess where the bottlenecks in a program will be. :)

Re: Tofu – The opposite of a font

#37

Does anyone know the name of the app that's listing/displaying fonts? It looks pretty neat, and I haven't found anything good-looking like that for Linux/*nix.

It's GNOME's font manager: https://fontmanager.github.io/

If you're using ubuntu, there's a package for it

Re: Tofu – The opposite of a font

#38

It is both reasonable and unfortunate that TrueType & OpenType fonts can have no more than 65,535 glyphs. That said, probably the logical font made of multiple physical fonts can be probably made to support all available planes.

That said, probably the logical font made of multiple physical fonts can be probably made to support all available planes.

Yes, that's how you can fit all of Unicode into one "font" -- use a collection of fonts with at most 64K glyphs each:

https://graphicdesign.stackexchange.com/questions/73166/what...

I'll leave it as an "exercise for the reader" to generate such a font.

Re: Tofu – The opposite of a font

#39
We had a bug some weeks ago which was caused by a missing `trim` and an invisible chararcter. Our tester copied some text from a webpage which had such characters. This font is helpful in those cases.
Post reply on HN