Quote:
Originally Posted by FDPuthuff
What I was dealing with, was representing text on an older computer terminal. It has a very distinctive look. San-serif and mono-spaced.
|
Try
font-family: monospace;
That will probably give you a courier-like font. Also try making it bold.
Or, just try
<pre> instead of <p> tags, which should give monospaced text.
Or, if there isn't much text, make and place images.
That's what I usually do for a few Chinese characters, as embedding a Chinese font adds like 6MB to a file, even for a few characters, subsetting doesn't seem to work for them.
If your desired font isn't too large, you could specify it and have monospace, or sans-serif, be the fall back if publisher's fonts aren't allowed
.terminal {font-family: MyTerminal-font, monospace; text-align: left; }
Quote:
Originally Posted by FDPuthuff
What I ended up doing was setting the CCS for this text to san-serif. I couldn't find an .otf file for the text I wanted anyway.
|
Look for "pixel fonts".
e.g.
https://www.fontspace.com/category/pixel
You can use ttf or otf in ebooks.