Q
Q
Quqas2022-02-09 17:33:43
ASCII
Quqas, 2022-02-09 17:33:43

How to find a replacement font for a specific font?

There is a specific bitmap font with a Western European character set.
There are no Russian letters in it (this is confirmed by the Symbol Table and Fony.exe. Only 254 characters), however, if you "look through" it, "Eat a bun" is written in Russian. those. already - it doesn’t happen
much more important to me personally that in the case of UTF-8 "text" the font is also " might "

from non-authoritative sources, they write that each font has a "similarity" and / or "replacement characters" i.e. if the font does not have the symbol "with the address" which is in the text, the substitution somehow magically occurs.

further returning to UTF-8, there is a specific text file (NFO ascii-art) for the sake of which everything was started.
if you look at its HEX editor, then there are sequences C3 9C C3 9B, which from "UTF-8 encoding table and Unicode characters" give

U+00DB	Û	c3 9b	LATIN CAPITAL LETTER U WITH CIRCUMFLEX
U+00DC	Ü	c3 9c	LATIN CAPITAL LETTER U WITH DIAERESIS


it is these letters that are drawn when using other fonts. and only if you choose sabzhevy - the necessary pseudo-graphic squares.

- this is the question: damn it, HOW?

-whether in the case of UTF-8 the font "re-closes" on itself and despite the fact that there are 254 characters (ie 1-byte) it processes 2-byte characters?
Is it the choice of it that makes some magic substitution font produce these squares? And how to calculate it? find and use

the fact that UTF-8 = 146%. by quantity 0D 0A follows. and in the string there are "80" characters. (There are more bytes themselves)
Another oddity is that this file is an ordinary ancient notepad. with this font. immediately correctly as UTF-8 understands, although it simply doesn’t even have such a “switch” (there are no prefixes in the file, spaces start immediately from 20 20 20), and new n ++, etc. they think that ansi \ ascii and you have to convince yourself that this is a utf-8

font, I myself "blinded" on the basis of vgaoem.fon through Fony changed the name and encoding. (Now you don't need to change Non-Unicode Language to make ascii-art look as intended)

https://drive.google.com/drive/folders/1zbOEJkQv9z...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lekras, 2022-02-09
@lekras

It is unlikely that this is a replacement for the sign of similarity. Just different code tables in which different characters sit under the same code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question