What is the ideal font for OCR?

After trying a lot of different fonts and OCR engines I tend to get the best results using Consolas. It is a monospaced typeface like OCR-A, but easier to read for humans. Consolas is included in several Microsoft products. There is also an open source font Inconsolata, which is influenced by Consolas. Inconsolata is a … Read more

@font-face url pointing to local file

You just need one font file in web open font format. Go to http://www.fontconverter.org to convert your OpenSymbol.tff to OpenSymbol.woff. I am a cross-platform developer and i tested this works okay on: Safari 10.1 and Firefox 52.0.2 on macOS 10.12.4 (iMac) Internet Explorer 11.0 and Firefox 52.0.1 and Google Chrome 52.0 and Opera 53.0 on … Read more

Fix custom font line-height with CSS

The issue here is not line height but vertical placement of glyphs, in particular the location of the text baseline. That’s something that the font designer has decided on; the designer draws glyphs and places them in the em square, the conceptual device that has height equal to (or defined to be) the font height. … Read more

Downsizing an .OTF font by removing glyphs

I’ve written a Python2 script with fontforge library does the following: Accepts a source font Accepts a file containing all characters to be used. It can be a translation file, string asset file, HTML file, etc. Output a font with characters that aren’t shown in the file removed Here is the code: #!/usr/bin/python2 import sys … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)