Hi,
1) There's no fpdf_edit_text.cpp, I believe you meant fpdf_edittext.cpp?
2) fpdf_edittext.cpp is over 1000 lines long. What function are you
referring to?
3) It sounds like you are dealing with a particular PDF that has some
embedded font. Can you share the PDF for reference?
On Mon, Jun 16, 2025 at 8:15 PM 李寻欢 <
20021...@gmail.com> wrote:
>
> When handling the ToUnicode writing error in fpdf_edit_text.cpp, I noticed that for the fully embedded Microsoft YaHei font, the space character (Unicode 32) cannot be mapped to a corresponding CharCode. My current workaround is to manually add a dedicated entry for the space character to the ToUnicode stream. Could the official team suggest a more elegant or standard solution? Your assistance would be greatly appreciated!
>
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pdfium+un...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/pdfium/3df4baf5-0a5d-4661-837e-fca479a0271cn%40googlegroups.com.