On 2020-02-28 10:55, home user wrote:
On 2020-02-28 04:11, Ed wrote:
> The "better way" is if you really need the
> "AR PL UKai CN Book 16" font is to use a real text editor.
> But, if you will be looking at the text mostly in a terminal,
> then find a monospace font you can live with.
The text is all originally in .txt files; such files I view in a terminal. Some of the
text (Chinese, pinyin, and English) in the .txt files are copied from to make html (.html)
files and javascript (.js) files. I use vim to create and edit those, too; the results
(private web pages) are viewed in Firefox.
First of all, a file with a .txt is meaningless in a general sense.
[egreshko@meimei ~]$ file Death-Cert.jpeg
Death-Cert.jpeg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 600x600,
segment length 16, baseline, precision 8, 5100x7016, components 1
[egreshko@meimei ~]$ cp Death-Cert.jpeg Death-Cert.txt
[egreshko@meimei ~]$ file Death-Cert.txt
Death-Cert.txt: JPEG image data, JFIF standard 1.01, resolution (DPI), density 600x600,
segment length 16, baseline, precision 8, 5100x7016, components 1
vim seems to me to be a quite powerful editor. What is considered a "real text
editor"?
The issue, as I see it, you want to use "AR PL UKai CN Book 16" when you edit
text that will eventually become
part of a web page. (I assume your html code is also telling the browser to use that
font?). Unfortunately,
that font has issues in a terminal. So, what to do?
The choices I see are....
1. Pick a font that works in the terminal which you can tolerate.
2. Use "text-editor" as you've done in an earlier post in this thread.
Even libreoffice writer
can save in pure "text" format.
3. Use a html editor or creator or whatever they are called. libreoffice claims to have
that ability.
to directly create your web page.
--
The key to getting good answers is to ask good questions.