lucy / tewi-font Goto Github PK
View Code? Open in Web Editor NEWsmall bitmap font
License: MIT License
small bitmap font
License: MIT License
This would resolve #5 more easily.
bdftopcf tewi-medium-11.bdf | gzip -9 > out/tewi-medium-11.pcf.gz
bdftopcf tewi-bold-11.bdf | gzip -9 > out/tewi-bold-11.pcf.gz
bdftopcf tewifw-medium-11.bdf | gzip -9 > out/tewifw-medium-11.pcf.gz
bdftopcf tewi2a-medium-11.bdf | gzip -9 > out/tewi2a-medium-11.pcf.gz
BDF Error on line 0: bad 'STARTFONT'
bdftopcf: bdf input, tewi2a-medium-11.bdf, corrupt
bdftopcf tewii-medium-11.bdf | gzip -9 > out/tewii-medium-11.pcf.gz
BDF Error on line 0: bad 'STARTFONT'
bdftopcf: bdf input, tewii-medium-11.bdf, corrupt
scripts/mkvar tewi2a-bold-11.bdf
Traceback (most recent call last):
File "scripts/merge.py", line 30, in <module>
lines = f.readlines()
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 147: ordinal not in range(128)
Makefile:29: recipe for target 'tewi2a-bold-11.bdf' failed
make: *** [tewi2a-bold-11.bdf] Error 1
Trying to build the package on Arch Linux fails with this error.
U+3013 GETA MARK. It is a Japanese symbol used to replace characters that cannot be read during
transcription of manuscripts (source: Japanese Wikipedia). Can be used alongside other languages too 〓.
This needs a better solution soon. Using the main font as a fallback to tewi2a appears to be broken in at least urxvt currently. Would also be used for the v2 variant, which is currently in a branch.
Override glyphs in the main fonts by merging into new font files. Either
These all have cons (to me). If anyone can think of a better solution I would be grateful.
I know about bdf2psf tool but have problem with converting:
bdf2psf --fb Tewi-normal-11.bdf /usr/share/bdf2psf/standard.equivalents /usr/share/bdf2psf/useful.set 512 Tewi-normal-11.psf
/usr/bin/bdf2psf: Tewi-normal-11.bdf: the width is not integer number.
any advice? Thanks.
this can be generated by merge.py now
for example, ㏑ or ▶
Compare:
-10 # normal hyphen (U+002D)
−10 # Minus U+2212
-−
You can see one is generally narrower and vertically at a different position.
Would really like to be able to tell them apart. Thanks!
would be nice to get some help with this
might be nice
hello;
is tewi only single sized? it works the best with 10 and 11 is its normal size. the other sized aren't rendering good.
Can we have ttf format available too? i would love to use it over my osx :3
My choice of terminal (suckless st) doesn't seem to have box drawing characters (e.g. toilet -f future
or gradient chars (██▓▒░), and I like this font quite a bit.
The only two fonts which I've seen that provide these characters are leggie (except without the characters for toilet -f future
), and Metis.
It'd be quite nice if they were added to Tewi.
Hi, first: this font is awesome, thanks!
But i have an issue with this font. the letter 'a' looks like its misplaced (see screenshot).
My Xresources contains the following:
[code]
URxvt_font: -lucy-tewi2a-medium-r-normal--11-90-75-75-p-58-iso10646-1
URxvt_boldFont: -lucy-tewi2a-bold-r-normal--11-90-75-75-p-58-iso10646-1
URxvt_italicFont: -lucy-tewi2a-medium-r-normal--11-90-75-75-p-58-iso10646-1
URxvt_bolditalicFont: -lucy-tewi2a-bold-r-normal--11-90-75-75-p-58-iso10646-1
[/code]
I'm trying in a 1080p screen, get some icons... I ran glyphs
, and copy the content over another editor so I can be sure about the font, but the icon is minuscule :(. And therefore, I can't be sure how can I copy it.
Maybe something like this could be useful?
https://github.com/phallus/fonts
Thanks for your font :)
Maybe I'm just retarded but when I try to get it to print all the glyphs I get this:
bash glyphs.sh:
grep: : No such file or directory
I really like Tewi, but the font size is too small for my bad eyes. Can we get other sizes?
What kind of color scheme is used in the screenshot?
https://sourceforge.net/projects/freetype/files/freetype2/2.10.0/ - FreeType now uses the `defaultChar' property of PCF fonts to set the glyph for the undefined character at glyph index 0 (as FreeType already does for all other supported font formats). As a consequence, the order of glyphs of a PCF font if accessed with FreeType can be different now compared to previous versions.
I thought this font would be too small, but it is readable by its design, and I the more I use it, the more I like the choices made.
Perfectly aligned semigraphic characters, large dots, verify wide coverage... I love this font!
I enjoy making fonts (miniwi), and I may have some time to contribute some day. Some hints about the software or workflow you use?
[EDIT]: Ugly typos
Since 2.0.1, python3 is required (and is mentioned in the README by the next commit), but the shebang in scripts/merge.py could be a bit more clear. On my system, for example, python
happens to be python2, so make
fails, but specifying #!/usr/bin/env python3
in merge.py fixes this.
Aur package is broken. You need to start form lowercase 't' instead of 'T'.
package() {
cd "$srcdir/$_gitname"
install -T -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
install -d -m755 "$pkgdir/usr/share/fonts/misc/"
install -m644 -t "$pkgdir/usr/share/fonts/misc/" \
"tewi-bold-11.bdf" "tewi-normal-11.bdf" \
"tewi2a-bold-11.bdf" "tewi2a-normal-11.bdf"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.