X
Tap here to go to the mobile version of the site.

Support Forum

Font problem when printing from Firefox on macOS 10.14.3

Posted

I'm having trouble printing from Firefox 65.0.2 under macOS 10.14.3. Documents are displayed correctly in the browser, but when I'm trying to print, the fonts are substituted by garble (see image below), no matter if I send it to a physical printer, print to pdf or just open it in preview. I've tried following all the steps in https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox, and even done a clean reinstall -- to no avail.

Any help would be greatly appreciated. I'd really prefer not to have to go back to using Safari ;-(

I'm having trouble printing from Firefox 65.0.2 under macOS 10.14.3. Documents are displayed correctly in the browser, but when I'm trying to print, the fonts are substituted by garble (see image below), no matter if I send it to a physical printer, print to pdf or just open it in preview. I've tried following all the steps in https://support.mozilla.org/en-US/kb/fix-printing-problems-firefox, and even done a clean reinstall -- to no avail. Any help would be greatly appreciated. I'd really prefer not to have to go back to using Safari ;-(
Quote

Additional System Details

Application

  • Firefox 65.0.2
  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0
  • Support URL: https://support.mozilla.org/1/firefox/65.0.2/Darwin/en-US/

Extensions

  • Decentraleyes 2.0.9 (jid1-BoFifL9Vbdl2zQ@jetpack)
  • HTTPS Everywhere 2019.1.31 (https-everywhere@eff.org)
  • Privacy Badger 2019.2.19 (jid1-MnnxcxisBPnSXQ@jetpack)
  • uBlock Origin 1.18.4 (uBlock0@raymondhill.net)
  • Adobe Acrobat 18.0.9 (web2pdfextension.17@acrobat.adobe.com) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription:
  • adapterDeviceID: 0x6867
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x1002
  • contentUsesTiling: True
  • crashGuards: []
  • driverDate:
  • driverVersion:
  • featureLog: {u'fallbacks': [], u'features': [{u'status': u'available', u'description': u'Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'HW_COMPOSITING'}, {u'status': u'available', u'description': u'OpenGL Compositing', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OPENGL_COMPOSITING'}, {u'status': u'opt-in', u'description': u'WebRender', u'log': [{u'status': u'opt-in', u'message': u'WebRender is an opt-in feature', u'type': u'default'}], u'name': u'WEBRENDER'}, {u'status': u'blocked', u'description': u'WebRender qualified', u'log': [{u'status': u'available', u'type': u'default'}, {u'status': u'blocked', u'message': u'No qualified hardware', u'type': u'env'}], u'name': u'WEBRENDER_QUALIFIED'}, {u'status': u'available', u'description': u'Off Main Thread Painting', u'log': [{u'status': u'available', u'type': u'default'}], u'name': u'OMTP'}]}
  • info: {u'TileHeight': 1024, u'ApzWheelInput': 1, u'ApzDragInput': 1, u'ApzKeyboardInput': 1, u'ApzAutoscrollInput': 1, u'AzureFallbackCanvasBackend': u'none', u'TileWidth': 1024, u'AzureCanvasAccelerated': 0, u'AzureCanvasBackend': u'skia', u'AzureContentBackend': u'skia'}
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • offMainThreadPaintEnabled: True
  • offMainThreadPaintWorkerCount: 4
  • usesTiling: True
  • webgl1DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • webgl1Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_texture_compression_rgtc EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
  • webgl1Renderer: ATI Technologies Inc. -- AMD Radeon Pro Vega 56 OpenGL Engine
  • webgl1Version: 4.1 ATI-2.4.10
  • webgl1WSIInfo: CGL
  • webgl2DriverExtensions: GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
  • webgl2Extensions: EXT_color_buffer_float EXT_texture_compression_rgtc EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
  • webgl2Renderer: ATI Technologies Inc. -- AMD Radeon Pro Vega 56 OpenGL Engine
  • webgl2Version: 4.1 ATI-2.4.10
  • webgl2WSIInfo: CGL
  • windowLayerManagerRemote: True
  • windowLayerManagerType: OpenGL
  • windowUsingAdvancedLayers: False

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No

Question owner

Sorry, image didn't go through the first time. Here it is:

Sorry, image didn't go through the first time. Here it is:
Was this helpful to you?
Quote
WestEnd
  • Top 10 Contributor
59 solutions 5030 answers

What is the site?

What is the site?
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8190 solutions 67004 answers

Helpful Reply

Hi XiaYang, that particular example is a PDF. Firefox's built-in PDF viewer sometimes has problems with fonts specified in PDFs, so in case of any odd behavior, it is better to open the PDF in Apple's Preview app or in Adobe Reader and print from there instead. You can use the Download button on the viewer's black toolbar:

Of course, that trick doesn't apply to regular web pages. Is there also a problem with web pages?

Hi XiaYang, that particular example is a PDF. Firefox's built-in PDF viewer sometimes has problems with fonts specified in PDFs, so in case of any odd behavior, it is better to open the PDF in Apple's Preview app or in Adobe Reader and print from there instead. You can use the Download button on the viewer's black toolbar: <img src="https://prod-cdn.sumo.mozilla.net/uploads/images/2019-03-01-13-15-35-1d123a.png" width="500"> Of course, that trick doesn't apply to regular web pages. Is there also a problem with web pages?
Was this helpful to you? 1
Quote

Question owner

Dear jscher2000, what you suggest is a helpful workaround, thank you very much.

I have in the meantime been able to narrow down the problem a bit: the issue appears to occur only with pdf files that were generated using LaTeX, whereas websites and other types of pdfs seem to print just fine. I tried with a bunch of randomly selected papers from arxiv.org as well as some of my own LaTeX papers on the local hard disk, and none of them print correctly, so it's unlikely that it is just related to a particular LaTeX template.

I'm a bit surprised though that the Firefox pdf viewer should have a problem with something as ubiquitous as standard LaTeX fonts...

jscher2000 said

Hi XiaYang, that particular example is a PDF. Firefox's built-in PDF viewer sometimes has problems with fonts specified in PDFs, so in case of any odd behavior, it is better to open the PDF in Apple's Preview app or in Adobe Reader and print from there instead. You can use the Download button on the viewer's black toolbar: Of course, that trick doesn't apply to regular web pages. Is there also a problem with web pages?
Dear jscher2000, what you suggest is a helpful workaround, thank you very much. I have in the meantime been able to narrow down the problem a bit: the issue appears to occur only with pdf files that were generated using LaTeX, whereas websites and other types of pdfs seem to print just fine. I tried with a bunch of randomly selected papers from arxiv.org as well as some of my own LaTeX papers on the local hard disk, and none of them print correctly, so it's unlikely that it is just related to a particular LaTeX template. I'm a bit surprised though that the Firefox pdf viewer should have a problem with something as ubiquitous as standard LaTeX fonts... ''jscher2000 [[#answer-1201433|said]]'' <blockquote> Hi XiaYang, that particular example is a PDF. Firefox's built-in PDF viewer sometimes has problems with fonts specified in PDFs, so in case of any odd behavior, it is better to open the PDF in Apple's Preview app or in Adobe Reader and print from there instead. You can use the Download button on the viewer's black toolbar: <img src="https://prod-cdn.sumo.mozilla.net/uploads/images/2019-03-01-13-15-35-1d123a.png" width="500"> Of course, that trick doesn't apply to regular web pages. Is there also a problem with web pages? </blockquote>

Modified by XiaYang

Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
16992 solutions 153423 answers

Helpful Reply

Print Preview with this PDF file is working fine here on Linux.

Your Print Preview screenshot shows characters in the PUA (Private Use Area; E000-E8FF) code block that is usually reserved for downloaded fonts. If I check the font used in the PDF viewer (tab) then I see font-family: sans-serif; as inline CSS code.

Print Preview with this PDF file is working fine here on Linux. *https://arxiv.org/pdf/1812.08206.pdf Your Print Preview screenshot shows characters in the PUA (Private Use Area; E000-E8FF) code block that is usually reserved for downloaded fonts. If I check the font used in the PDF viewer (tab) then I see font-family: sans-serif; as inline CSS code.
Was this helpful to you? 1
Quote

Question owner

Thank you cor-el. Indeed, when I open the file in Firefox's PDF viewer, I get the same "font-family: sans-serif" information, and the document displays correctly.

But when I try to print or save as pdf, it somehow fails to properly embed the LaTeX fonts. The resulting pdf is huge (80MB vs the normal 4MB), and Adobe Acrobat tells me that the only embedded font is Times-Roman (missing a long list of embedded LaTeX fonts compared to the original pdf). Not sure if this information helps.

I've also tried reinstalling my LaTeX distribution from scratch, but that didn't help either.

Thank you cor-el. Indeed, when I open the file in Firefox's PDF viewer, I get the same "font-family: sans-serif" information, and the document displays correctly. But when I try to print or save as pdf, it somehow fails to properly embed the LaTeX fonts. The resulting pdf is huge (80MB vs the normal 4MB), and Adobe Acrobat tells me that the only embedded font is Times-Roman (missing a long list of embedded LaTeX fonts compared to the original pdf). Not sure if this information helps. I've also tried reinstalling my LaTeX distribution from scratch, but that didn't help either.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.