From 762035b42bbaa3fb411efc8730f5c7e415b1a9ee Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 17 May 2024 09:11:45 +0800 Subject: [PATCH] linux --- docs/debug.md | 3 +++ docs/libs/font.md | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/debug.md b/docs/debug.md index 5fdebe9..6b00c0f 100644 --- a/docs/debug.md +++ b/docs/debug.md @@ -37,6 +37,9 @@ PPSSPP自带的调试工具算很强大了。简要介绍一下它的功能。 + ELF中的vmaddr + ELF的二进制文件 +## Remote debug for `PPSSPP` +PPSSPP supports WebSocket Debugging. + ## Makefile Example (From RetroArch) + After `include` ```Makefile diff --git a/docs/libs/font.md b/docs/libs/font.md index bf7c97c..46cd133 100644 --- a/docs/libs/font.md +++ b/docs/libs/font.md @@ -1,6 +1,15 @@ # PGF file PPSSPP有PGF文件的解析实现。 +## Manipulating PGF Files. +> A Commandline tool for manipulating PGF File +> >[PGFTool](https://github.com/tpunix/pgftool) +> +> A Windows Tool for manipulating PGF file +> >[PSP-Pixels](https://github.com/niuhuan/psp-pixels) +> +> An old and more general Locolization Tool in Chinese. +> > [Firefly](https://github.com/IanusInferus/firefly/) # libFont PPSSPP有一个libFont的实现。 @@ -10,4 +19,8 @@ UCS2,可认为是UTF-16用二个字节来表示基本平面 UTF-16 编码表 Unicode 中的一个编码区段,编码从 U+0000 至 U+FFFF,也称基本多文种平面(Basic Multilingual Plane,BMP),或第零平面(Plane 0)。 -Unicode 编码规定以下字符范围为控制字符,\U0000 - \U001F, \U007F, \U0080 - \U009F。 \ No newline at end of file +Unicode 编码规定以下字符范围为控制字符,\U0000 - \U001F, \U007F, \U0080 - \U009F。 + +UCS-2 用 0x0000 - 0xFFFF 代表所有UTF-8的字符。 假设一个字符为16x16, 一个byte(8Bit)可以代表8个点, 32个byte就可以代表一个字, 2Mib刚好表示整个UCS-2字库。 + +PSP在使用的时候, 跟据UCS2编码可以直接算出偏移量, 并取出32个byte, 进行位运算, 打印出一个字符.