< text > < / text > how to achieve inconsistent display of text content

Mar.20,2021
The

custom font specifies how the characters are actually displayed, and things like font-icon are also done, but this may be to guard against theft or something (guess).
clipboard.png


as stated in @ Jia Shun name , the text is rendered with a special font. Fonts are defined in the font.css file, and are likely to change from time to time.

by looking at the source code of the web page, you can find that confusion is used in many places (xpath'/ * [contains (@ class, "tyc-num")]'), including Chinese characters, English letters, numbers, punctuation, and so on.

because the rendered font is very neat, the OCR engine (tesseract) can be used to automatically generate the mapping table of all kinds of characters to realize the automatic grabbing and conversion information flow.

< hr >

attachment: please use tesseract version 4.0or above to recognize Chinese characters. Choose the chi_sim (best), download address https://github.com/tesseract-.

for data files.

personal test is available.

< hr >

Please refer to
"Automated Decoding of Custom Font confusion Information", https://codeshelper.com/a/11.

"

upstairs makes sense.


in order to prevent others from using its data, it is necessary to ensure that the special treatment of the display effect
numbers are all looked up and replaced, and the display content is consistent.

Menu