Hi,
There is an issue selecting text in this PDF.
PDF XChange Editor 10.3.0 build 386
Steps to reproduce
Select "transporteur Na+ K+ 2CI-"
Expected behaviour
Current behaviour
It's likely related to how PDF-XChange handles superscript.
Thanks for investigating,
Superscript - Unable to select text properly
Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Superscript - Unable to select text properly
You do not have the required permissions to view the files attached to this post.
Last edited by Loki@99 on Mon Jun 10, 2024 6:26 pm, edited 1 time in total.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Superscript - Unable to select text properly
Hello, Loki@99
This text is not "superscript" formatted text, but simply regular text, placed offset from the main line of text in the document, it is also listed as the last "content item" which is what causes the selection issues. May I ask how you created this content, did you convert from another document/format? If so, could we see the original file perchance? The file seems to have been created by software, but I cannot identify if we performed the original placement of these items, of if there was no valid data for us to create them properly during the conversion.
In the meantime, if you pull these items out of the document, and add properly superscript formatted text to the file, you will find the selection works as desired going forward: Kind regards,
This text is not "superscript" formatted text, but simply regular text, placed offset from the main line of text in the document, it is also listed as the last "content item" which is what causes the selection issues. May I ask how you created this content, did you convert from another document/format? If so, could we see the original file perchance? The file seems to have been created by software, but I cannot identify if we performed the original placement of these items, of if there was no valid data for us to create them properly during the conversion.
In the meantime, if you pull these items out of the document, and add properly superscript formatted text to the file, you will find the selection works as desired going forward: Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Re: Superscript - Unable to select text properly
Hi Daniel,
The file was created from this webpage [url]https://pharmacomedicale.org/medicaments/par-specialites/item/diuretiques-de-l-anse[/url] using PrintFriendly chrome extension.
I tested with Foxit PDF Editor and there was no such selection issue with their Edit text feature.
No issue with Microsoft Edge 124.0.2478.80 as well.
The file was created from this webpage [url]https://pharmacomedicale.org/medicaments/par-specialites/item/diuretiques-de-l-anse[/url] using PrintFriendly chrome extension.
I tested with Foxit PDF Editor and there was no such selection issue with their Edit text feature.
No issue with Microsoft Edge 124.0.2478.80 as well.
You do not have the required permissions to view the files attached to this post.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Superscript - Unable to select text properly
Hello, Loki@99
Indeed, we have room for improvement here. We are working on a visual layout system, so I have created a bug report for our Devs on this, hopefully this should give it some extra priority.
RT#6902: Bug: Visual layout of "sub/superscript" characters not working.
Kind regards,
Indeed, we have room for improvement here. We are working on a visual layout system, so I have created a bug report for our Devs on this, hopefully this should give it some extra priority.
RT#6902: Bug: Visual layout of "sub/superscript" characters not working.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Re: Superscript - Unable to select text properly
Hi
I don't know if it's related to T#6902 but the highlighter also displays weird highlighting with Superscript/Subscript.
Steps to reproduce
Highlight terms in the following PDF
PDF sample created with PDFXCE Add Text (base content) tool
Current behavior
Expected behavior
Foxit PDF
Thanks for investigating,
I don't know if it's related to T#6902 but the highlighter also displays weird highlighting with Superscript/Subscript.
Steps to reproduce
Highlight terms in the following PDF
PDF sample created with PDFXCE Add Text (base content) tool
Current behavior
Expected behavior
Foxit PDF
Thanks for investigating,
You do not have the required permissions to view the files attached to this post.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Superscript - Unable to select text properly
Hello, Loki@99
Thank you for the report, You will be happy to know I am working with a nightly test build today and can confirm that the "select text" handling of superscript/subscript characters is working as desired now.
As for the highlights issue you have just reported, that is unlikely to change, our handling is how many others handle highlights for such text, most likely to ensure that all of the "text annotation tools" (highlight, underline, strikethrough, etc) can share common handling, instead of needing individualized special rules. I appreciate that Foxit seems to have special handling here, and perhaps the dev team will consider it (as always I am passing it along to see) but at this time it seems to be in line with the norms for this tool.
Kind regards,
Thank you for the report, You will be happy to know I am working with a nightly test build today and can confirm that the "select text" handling of superscript/subscript characters is working as desired now.
As for the highlights issue you have just reported, that is unlikely to change, our handling is how many others handle highlights for such text, most likely to ensure that all of the "text annotation tools" (highlight, underline, strikethrough, etc) can share common handling, instead of needing individualized special rules. I appreciate that Foxit seems to have special handling here, and perhaps the dev team will consider it (as always I am passing it along to see) but at this time it seems to be in line with the norms for this tool.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Re: Superscript - Unable to select text properly
Hi Daniel,
Adobe Acrobat
Drawboard PDF
It will be great to have that highlight handling for superscript/subscript in PDFXCE as well.
That's good news ! Thanks for the follow-up"select text" handling of superscript/subscript characters is working as desired now.
Well, I tested with Adobe Acrobat and Drawboard PDF and got the same result as Foxit'sour handling is how many others handle highlights for such text
Adobe Acrobat
Drawboard PDF
It will be great to have that highlight handling for superscript/subscript in PDFXCE as well.
You do not have the required permissions to view the files attached to this post.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Superscript - Unable to select text properly
Hello, Loki@99
Curiuous, Adobe was one of the options I tested with, though I was using my own file in the comparison and they treated them the same as we do, however when using your sample file, surely enough, they act differently. I wonder what the cause is for that difference in handling between files. I have brought it to the Dev team for additional review.
RT#6953: FR: improve highlight for super/subscript characters
Kind regards,
Curiuous, Adobe was one of the options I tested with, though I was using my own file in the comparison and they treated them the same as we do, however when using your sample file, surely enough, they act differently. I wonder what the cause is for that difference in handling between files. I have brought it to the Dev team for additional review.
RT#6953: FR: improve highlight for super/subscript characters
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 558
- Joined: Sat Dec 16, 2023 11:09 am
Re: Superscript - Unable to select text properly
Hi,
Btw, I didn't notice any superscript related fix in changelog.
PDFXCE 10.3.1 build 387
Selection should stop at 2Cl-
Thanks for investigating,
I don't know what handling you were refering to cause there's the same issue with the file I provided in build 387.TrackerSupp-Daniel wrote: ↑Tue Jun 11, 2024 6:11 pm the "select text" handling of superscript/subscript characters is working as desired now.
Btw, I didn't notice any superscript related fix in changelog.
PDFXCE 10.3.1 build 387
Selection should stop at 2Cl-
Thanks for investigating,
You do not have the required permissions to view the files attached to this post.
Major Stylus topics
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
- RemoveAnnotationsWithEraser T#6903
- MiniPopupMenuOnTextSelection T#6894
- AbnormalSpikes forum.pdf-xchange.com/viewtopic.php?p=179935&hilit=spikes#p179935
- ForceEraserPreview forum.pdf-xchange.com/viewtopic.php?t=42380
-
- Site Admin
- Posts: 10998
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Superscript - Unable to select text properly
Hello, Loki@99
My apologies, I meant in relation to text items which are actually formatted as Super/subscript text, things work as expected: For those that are not, like the document in your original post, this is still not working, because such improvements will rely on the visual content order changes we are working on. This will be a long term item.
Kind regards,
My apologies, I meant in relation to text items which are actually formatted as Super/subscript text, things work as expected: For those that are not, like the document in your original post, this is still not working, because such improvements will rely on the visual content order changes we are working on. This will be a long term item.
Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com