PDF内の1文字を変更する
Xで「ハイフンをenダッシュに変えるとPDFファイルサイズが約10バイト増える」という投稿を見た。ハイフンはASCII文字だがenダッシュはそうではないため、UTF-8エンコードのテキストファイルでは文字数が変わる。この変更がPDF内部でどのように影響するかを考察する。
Xで「ハイフンをenダッシュに変えるとPDFファイルサイズが約10バイト増える」という投稿を見た。ハイフンはASCII文字だがenダッシュはそうではないため、UTF-8エンコードのテキストファイルでは文字数が変わる。この変更がPDF内部でどのように影響するかを考察する。
Larkos underwent code and file restructuring to simplify writing, reduce file sizes, and remove redundant code. The update also fixed numerous bugs and included a major rewrite of the README on GitHub.
The post explains that developers can gain more confidence when tracking file renames via ReadDirectoryChangesW by tracking the file ID.
When upgrading resource strings to Unicode, developers must include the L prefix; otherwise, the string will be mapped back down to the 8-bit code page.