Skip to content

Commit

Permalink
linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed May 17, 2024
1 parent 9487bdd commit 762035b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ PPSSPP自带的调试工具算很强大了。简要介绍一下它的功能。
+ ELF中的vmaddr
+ ELF的二进制文件

## Remote debug for `PPSSPP`
PPSSPP supports WebSocket Debugging.

## Makefile Example (From RetroArch)
+ After `include`
```Makefile
Expand Down
15 changes: 14 additions & 1 deletion docs/libs/font.md
Original file line number Diff line number Diff line change
@@ -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的实现。

Expand All @@ -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。
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, 进行位运算, 打印出一个字符.

0 comments on commit 762035b

Please sign in to comment.