Recognizing Text Case Rules on PDF Import (1.3 beta)

Summary:

New PDF importer in 1.3 beta 0 doesn't seem to recognize signals to change the case of an entire text box to all caps, title case, etc.

Steps to reproduce:

  • open Inkscape
  • import a PDF file (try attached PDF for example)
  • open the same PDF in a PDF viewer
  • observe difference in case for text regions that use all caps

What happened?

Inkscape renders text in its default case, without regard to overall case rules set by another layout software. In some cases, this leads to random cases throughout words or sentences if the original file did not set the individual letter's case correctly. The image attached below shows the same PDF in Mac preview (top left) and in Inkscape (bottom right).

Screenshot_2023-07-07_at_9.58.27_AM

What should have happened?

Inkscape should pay attention to overall case rules like all caps or title case and render text elements accordingly.

Sample attachments:

May-27.pdf

Version info

Inkscape 1.3-beta (cedbd6c, 2023-05-28)