Tag

Chinese characters

0 views collected around this technical thread.

Model Perspective
Model Perspective
Oct 20, 2022 · Fundamentals

How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)

Matplotlib does not render Chinese text by default, showing squares instead, but you can fix this by setting a Chinese font directly in code, adjusting rcParams, or editing the config file; the example demonstrates loading a local font file and applying it to axis labels and titles.

Chinese charactersFont settingsMatplotlib
0 likes · 2 min read
How to Display Chinese Characters in Matplotlib Plots (Step‑by‑Step)
Python Programming Learning Circle
Python Programming Learning Circle
Jan 26, 2022 · Fundamentals

Generating Chinese "Fu" Characters with Python and PIL

This tutorial demonstrates how to use Python libraries such as requests and Pillow to scrape individual Chinese characters, resize them, compose them onto a background image, and output a customized "Fu" couplet image, complete with full source code and usage instructions.

Chinese charactersPILTutorial
0 likes · 8 min read
Generating Chinese "Fu" Characters with Python and PIL
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jul 1, 2021 · Mobile Development

Implementing Chinese Character Auto‑Trace (描红) in Flutter: Data Handling, SVG Conversion, Coordinate Transformation, and Animation

This article details a Flutter‑based solution for automatically tracing Chinese characters, covering data preprocessing, SVG‑to‑coordinate conversion, scaling, Y‑axis inversion, translation, centering correction, and smooth stroke animation with frame‑rate optimization.

Chinese charactersCoordinate TransformationFlutter
0 likes · 15 min read
Implementing Chinese Character Auto‑Trace (描红) in Flutter: Data Handling, SVG Conversion, Coordinate Transformation, and Animation
Python Programming Learning Circle
Python Programming Learning Circle
Sep 22, 2018 · Backend Development

How to Accurately Substring Chinese Text in PHP Across GBK and UTF-8

This guide explains how to correctly truncate strings containing Chinese characters in PHP by detecting character byte length for GBK and UTF‑8 encodings, and provides a reusable my_substr function with example usage.

Chinese charactersGBKUTF-8
0 likes · 4 min read
How to Accurately Substring Chinese Text in PHP Across GBK and UTF-8