For some texts that I am typesetting, I would like to have more blackboard letters than are usually available with the AMS fonts (or with fourierbb etc.)
In particular, I felt the need to denote the function that only assumes 0 as a blackboard 0, but not with, say, $\mathbb{O}$ (that's a capital letter o, not a zero), and a blackboard 1 for the function that only assumes 1 (this is particularly useful when one is talking about arithmetic functions and the Möbius inversion formula).
For typesetting with plain latex, I have used MinionPro with MnSymbols and looking a little bit, I found the package bbold to be almost what I wanted, but with two exceptions:
- The fonts embedded in the final PDF document are Type 3 fonts.
- They don't actually match the look of
MinionPro.
Looking a bit further, I saw that the DejaVu fonts produced by the DejaVu project has all symbols in the set [A-Za-z0-1] in a very free license, they actually look reasonable with MinionPro (and Linux Libertine) and, with the source format in Fontforge, I was able to strip all the characters to create a PostScript Type 1 font.
But here is my problem: After I did all that, I am using the following python scriptfollowing python script to create the pfb file, but I had no success using the fonts after installation, but I did have success if I used directly
$\font\blackboardfont=fdjr8r at 10pt$ instead of what I would understand as being the "normal" way:
$\font\blackboardfont=fdj at 10pt$ that is, without the type and encoding hardcoded.
This must be a really elementary question, but I am lacking some background here and I would appreciate if others could help me learn what I am doing incorrectly so that I can also offer this on CTAN, as I saw that looking for blackboard letters and numbers is more popular than what I thought at first.
If it helps, I can upload the whole stuff that I have here to github.