You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was/am getting inconsistencies with trying to load/render a PDF file contained within a GitHub repository which appears to be a browser rendering issue as it pertained to issue #5 and this error was indicated by the following:
Error rendering embedded code - Invalid PDF
The following is a screenshot of this error:
Note
Although an error is indicated, the PDF can still be downloaded via the download button. However, this is a situation that should be avoided.
In this specific case, the file is a PDF that is used to provide a vector version of a logotype BuddyPress Logo (Vector PDF) and this issue appears to related to the browser version and for Linux the browser versions will depend on the release channel (distribution respositories), in most cases, the standard/default repositories. Additionally, this appears to only be related to GitHub because the browser versions that fail to render via GitHub, don't exhibit this issue rendering via http:// or https:// or file:///, i.e., served up by a Web server or as a local file. The following are the results of some tests I performed:
Linux - Centos based - 64bit
Browser
Version
PDF Renders
Chromium
127.0.6533.88
✔️
Google Chrome
127.0.6533.99
✔️
Firefox
115.13.0esr
❌
Linux - Debian based (WSL2) - 64bit
Browser
Version
PDF Renders
Chromium
123.0.6312.105
✔️
Firefox
115.8.0esr
❌
Linux - Ubuntu based - 64bit
Browser
Version
PDF Renders
Chromium
127.0.6533.99
✔️
Google Chrome
127.0.6533.99
✔️
Firefox
129.0
✔️
Window 10 - 64biit
Browser
Version
PDF Renders
Chromium
111.0.5563.111
❌
Chromium
127.0.6533.100
✔️
Google Chrome
127.0.6533.100
✔️
Firefox
129.0
✔️
Brave
127.0.6533.100
✔️
Microsoft Edge
127.0.2651.98
✔️
Opera
126.0.6478.183
✔️
Comodo Dragon
125.0.6422.142
✔️
Linux - Debian based - 32bit
Browser
Version
PDF Renders
Chromium
120.0.6099.224
✔️
Firefox
129.0
✔️
Linux - Ubuntu based - 32bit
Browser
Version
PDF Renders
Chromium
112.0.5615.49
❌
Firefox
113.0.2
❌
Files that would normally not be rendered, e.g., Microsoft Word or Excel (or their open source equivalents), at least the examples given, seem to display as:
Note
In this case, the file was a Microsoft Word document, the "view raw" when clicked will download the file or the download button can be used.
In conclusion, I opted to convert the PDF to SVG, since the PDF was being used to supply a vector graphic and thus end of this story, see the following:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was/am getting inconsistencies with trying to load/render a PDF file contained within a GitHub repository which appears to be a browser rendering issue as it pertained to issue #5 and this error was indicated by the following:
Error rendering embedded code - Invalid PDF
The following is a screenshot of this error:
Note
Although an error is indicated, the PDF can still be downloaded via the download button. However, this is a situation that should be avoided.
In this specific case, the file is a PDF that is used to provide a vector version of a logotype BuddyPress Logo (Vector PDF) and this issue appears to related to the browser version and for Linux the browser versions will depend on the release channel (distribution respositories), in most cases, the standard/default repositories. Additionally, this appears to only be related to GitHub because the browser versions that fail to render via GitHub, don't exhibit this issue rendering via http:// or https:// or file:///, i.e., served up by a Web server or as a local file. The following are the results of some tests I performed:
Linux - Centos based - 64bit
Linux - Debian based (WSL2) - 64bit
Linux - Ubuntu based - 64bit
Window 10 - 64biit
Linux - Debian based - 32bit
Linux - Ubuntu based - 32bit
Files that would normally not be rendered, e.g., Microsoft Word or Excel (or their open source equivalents), at least the examples given, seem to display as:
Note
In this case, the file was a Microsoft Word document, the "view raw" when clicked will download the file or the download button can be used.
In conclusion, I opted to convert the PDF to SVG, since the PDF was being used to supply a vector graphic and thus end of this story, see the following:
Create the Official BuddyPress Logo document
Beta Was this translation helpful? Give feedback.
All reactions