Ubuntu Version:
24.04
Desktop Environment (if applicable):
None (WSL)
Problem Description:
I need to render the “ocr b” font with Imagesharp
I’ve installed the package “fonts-ocr-b” with apt-get after an apt-get update.
retrieving the font name “OCR B “ to render the Regular style, I get rendered the Oblique style.
I also need a new style of the font, a version condensed with 75% of width while respecting the license agreement.
I’d like to open an issue in the official project and make a pull request to help.
Relevant System Information:
version is “0.3~dfsg1-1”
different font stiles have been installed in “/usr/share/fonts/opentype/ocr-b”
OCRBE.otf OCRBF.otf OCRB.otf OCRBS.otf OCRBX.otf OCRBL.otf
that are respectively “Inverted Sharp”, “Outline”, “Regular”, “Sharp”, “Inverted” and “Oblique”
Enumerating System fonts i get the names (notice “OCR B L” is missing):
“OCR B X “ “OCR B E” “OCR B F” “OCR B ” “OCR B S”
In previous releases like 20.04 LTS, the package i get with with apt is different, registers the fonts with different names (without spaces).
this preview page should help to identify the font name:
https://bneijt.nl/pr/ubuntu-fonts/fonts-ocr-b
What I’ve Tried:
If I delete the file OCRBL.otf i can render the regular ocr-b using the name “OCR B ” (notice that there is a trailing space in the name).
I can easily do the condensed 75% version myself with a tool like https://www.glyphrstudio.com/
I’ve searched contacts of the autor and I’ve found those websites:
from the package: https://tsukurimashou.osdn.jp/ocr.php and ubuntu-devel-discuss@lists.ubuntu.com
from the file metadata: Matthew Skala (2011, 2021); based on code by Norbert Schwarz (1986, 2011)
from the web (package): ubuntu-devel-discuss@lists.ubuntu.com
from the web (Skala): https://tsukurimashou.org/ocr.php.en
from the web (Schwartz) https://www.ctan.org/pkg/ocr-b
How would you proceed?
I should e-mail the autors?