Write PDF interword spaces with actual device fonts
This commit is contained in:
1 parent
b93d5f55da
commit
514a2d3344
24 files changed
+664
-65
No files matched your search
@@ -1178,6 +1178,35 @@ schema41 的定向对照从自定义文件 CMap 与内建 CMap 分别提取出
|
||||
- `receipt.json` 为 `39935858ea599a9f24af122487bd8dbe302174107ae08264707b2e344ec380d9`。
|
||||
- `checkpoint/receipt.json` 为 `232cf92c3e493e7825fe3fa9433054d9464eaf5735797e02a27ef51d329da025`。
|
||||
|
||||
### PDF 词间空格设备
|
||||
|
||||
schema42 接入 \pdfinterwordspaceon、\pdfinterwordspaceoff、\pdffakespace 和
|
||||
\pdfspacefont。开关随实际横纵列表发页,页间状态进入检查点。自动写出根据
|
||||
发页时 fontdimen2、fontdimen4 和真实文本游标的同基线水平位移决定。字体映射
|
||||
带有效 space 重编码且实际文本段可写入时使用现有字体的32号槽。其他需要空格的
|
||||
位置按设备规则使用真实专用字体,保持实际字形位置与 TeX 原始列表尺寸。
|
||||
[pdfTeX 的文本游标与词间空格](https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/pdftexdir/pdftex.web#L16219-L16369)
|
||||
|
||||
首次需要专用字体时读取实际 TFM、字体映射、编码和字体文件。作业复用该选择,
|
||||
即使之后扫描 \pdfspacefont。默认 PdfTeX-Space 按设备的真实映射读取。
|
||||
定向对照覆盖开启和关闭、显式空格、重编码字体、自选字体、未发页盒、
|
||||
逐页修改字体胶水参数及资源延迟加载。七页的文字提取、空格写出位置分类和
|
||||
144 DPI 灰度图一致。改第二页开关的续编复用878步,PDF、SVG 和归一化来源
|
||||
映射与独立零复用一致,两页无需重发。
|
||||
[pdfTeX 的字槽和专用字体映射](https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/pdftexdir/mapfile.c#L625-L641)
|
||||
|
||||
已复现的字体表边界:专用字体在原生 PDF 写出准备阶段取得,因此仍可在首次
|
||||
空格发页后扩展原文本字体的 fontdimen9。参考在发页加载专用字体后拒绝该
|
||||
扩展。保留两端输入、PDF 与状态码,后续把首次实际字体使用接到发页时的
|
||||
TeX 字体表。
|
||||
[pdfTeX 的专用字体初始化](https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/pdftexdir/pdftex.web#L16219-L16227)
|
||||
|
||||
回执在 `target/p3-pdf-interword-space-native`。
|
||||
|
||||
- `native/receipt.json` 为 `5203808e780042731b724536068e7ebed10abb3202496d7552f548e18459d340`。
|
||||
- `checkpoint/receipt.json` 为 `67a0c0c71b84129dccdd725858da24e2cfef6cc95cb98b4bf129a0176bfef4d7`。
|
||||
- `font-table-{reference,native}` 保存已复现的字体表差异。
|
||||
|
||||
### PDF 字面中的矩阵与来源映射
|
||||
|
||||
来源映射与 PDF 写入共用设备原点的取整。实际字面中的 `q`、`Q` 和
|
||||
|
||||
Reference in new issue
Block a user