Bug 120137 - Document won't print if it uses Roboto Slab font
Summary: Document won't print if it uses Roboto Slab font
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-26 17:05 UTC by Álvaro G. Vicario
Modified: 2020-08-04 21:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Simple test case (Writer) (10.36 KB, application/vnd.oasis.opendocument.text)
2018-09-26 17:06 UTC, Álvaro G. Vicario
Details
Simple test case (Calc) (7.97 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-09-26 17:07 UTC, Álvaro G. Vicario
Details
Roboto Slab fonts v1.100263 from Google Fonts (369.05 KB, application/zip)
2018-09-26 23:19 UTC, LibreTraining
Details
Roboto Slab fonts fixed to work in LO on Windows (460.18 KB, application/zip)
2018-09-26 23:58 UTC, LibreTraining
Details
PDF showing Roboto Slab font family tests on Windows (77.12 KB, application/pdf)
2018-09-27 00:01 UTC, LibreTraining
Details
Roboto Slab LO v2.00 alpha modified for LO on Windows (566.04 KB, application/zip)
2018-09-28 23:22 UTC, LibreTraining
Details
PDF of Roboto Slab LO v2.00 alpha in Use (70.86 KB, application/pdf)
2018-09-28 23:24 UTC, LibreTraining
Details
Updated PDF of Roboto Slab LO v2.00 alpha in Use (74.48 KB, application/pdf)
2018-09-28 23:35 UTC, LibreTraining
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Álvaro G. Vicario 2018-09-26 17:05:59 UTC
Description:
Documents using the Roboto Slab font by Google cannot be printed. They are sent to printer queue but eventually vanish without error message or actual print.

I've verified it in Writer and Calc, on versions 6.1.0 and 6.1.1 (Win_x64) running on a fully updated Windows 10 Home (Spanish edition). Printer is an HP Envy 5640 with latest firmware.

I've tried it with two users within my PC. I even wiped out my LibreOffice profile and reinstalled the program.

Documents print just fine from other programs (e.g. saving as PDF and printing from Adobe Reader).

Unfortunately I only have one physical printer to test (virtual printers are not affected).

Steps to Reproduce:
1. Get "Roboto Slab" at https://fonts.google.com/specimen/Roboto+Slab
2. Create a document in Writer or Calc with some text. Set font to "Roboto Slab".
3. Print the document.

Actual Results:
Dialogue titled "Printing - Page 1 of 1" shows up for a second. Document shows up in printer queue. After a few seconds, printer queue gets cleared but document has not been printed.

Expected Results:
Document gets printed.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: es
Module: TextDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

Versión: 6.1.1.2 (x64)
Id. de compilación: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b
Subprocs. CPU: 4; SO: Windows 10.0; Repres. IU: GL; 
Configuración regional: es-ES (es_ES); Calc: group threaded

Renderer: GeForce GT 630/PCIe/SSE2
Vendor: NVIDIA Corporation
Memory: 2048 MB
Version: 4.6.0 NVIDIA 388.71
Shading language version: 4.60 NVIDIA
Comment 1 Álvaro G. Vicario 2018-09-26 17:06:58 UTC
Created attachment 145187 [details]
Simple test case (Writer)

I presume I cannot include the font file for licence reasons.
Comment 2 Álvaro G. Vicario 2018-09-26 17:07:25 UTC
Created attachment 145188 [details]
Simple test case (Calc)
Comment 3 LibreTraining 2018-09-26 23:19:09 UTC
Created attachment 145196 [details]
Roboto Slab fonts v1.100263 from Google Fonts

The Roboto Slab fonts from Google Fonts have an Apache license.
No problem with attaching them here or anywhere else.

I tested your doc with Writer and printed to multiple printers without issues.
LibreOffice v6.1.2.1 x64 on Windows 7 x64.

Previously while testing this font family on LO v6.1.1.2 ...  
There are some problems with these fonts on Windows due to how they are named.
I doubt they will work properly on Windows without being fixed.

From my testing notes:
Windows: Font Family is Roboto Slab for all fonts. 
Weights are all in Font Subfamily, not separate families. 
Thin font is not available anywhere. 
Light font only appears in the Character Style list.
Typographic Family and Subfamily are filled-in.
Export to PDF - fonts are correct (but obviously missing Thin).

I doubt these fonts will work properly on Windows without modification.

I will make a new font family package for you to test which should work properly on Windows.

.
Comment 4 LibreTraining 2018-09-26 23:58:25 UTC
Created attachment 145197 [details]
Roboto Slab fonts fixed to work in LO on Windows

Attached are the Roboto Slab fonts fixed to work in LO on Windows.
Please test these to see if they work properly for you.

You can install these along with the other version at the same time because the name has been changed.

All appears to be working properly for me on Windows 7.
See PDF attachment in next post.

.
Comment 5 LibreTraining 2018-09-27 00:01:32 UTC
Created attachment 145198 [details]
PDF showing Roboto Slab font family tests on Windows

Attached is a PDF showing Roboto Slab font family tests on Windows.
It shows the original fonts (and the problems) and the modified fonts.

.
Comment 6 Adolfo Jayme Barrientos 2018-09-28 06:06:13 UTC
As LibreTraining has uncovered above, this is an issue with the fonts.

See https://github.com/google/fonts/issues/1618

The bug is not present in pre-release Roboto Slab, downloadable from https://github.com/googlefonts/robotoslab/tree/master/fonts/static
Comment 7 Álvaro G. Vicario 2018-09-28 09:07:18 UTC
Thank you very much for the detectivesque work and sorry for not reporting earlier (I had serious problems just trying to fully uninstall the Roboto-ish fonts for proper testing). The font is clearly broken. My findings:

1. The problem gets totally fixed when I use the alpha release linked by Adolfo Jayme. (However, once I install "RobotoSlabAlpha-Regular.ttf" I always the same prompt when I install all other files: "The 'Roboto Slab Regular' font is already installed. Do you want to replace it?". I'll report that to Google ticket.)

2. The "Roboto Slab LO" font by LibreTraining still exhibits the issue. This time the printer finally receives the document (LCD display shows "Printing...", which didn't before) but actual printing never starts. Printer remains in that status until I get tired and cancel it.

Is there an option, command-line switch, log file or something... to get notified about LibreOffice stuff failing because of broken fonts? From the end-user perspective all you see is that LibreOffice doesn't work where other programs do, which is nether fair nor useful.
Comment 8 LibreTraining 2018-09-28 23:22:44 UTC
Created attachment 145258 [details]
Roboto Slab LO v2.00 alpha modified for LO on Windows

Roboto Slab LO v2.00 alpha modified for LO on Windows

Alvaro try these fonts.

These are the Roboto Slab Alpha v2.000 fonts from the link above
and again modified to work properly in LibreOffice on Windows.
They also added a Black font which is nice.

The next attachment post is the PDF showing these fonts in use.

Please let us know if this solves your printing issue.

.
Comment 9 LibreTraining 2018-09-28 23:24:55 UTC
Created attachment 145259 [details]
PDF of Roboto Slab LO v2.00 alpha in Use

Attached is a PDF of the above Roboto Slab LO v2.00 alpha fonts in use.
Comment 10 LibreTraining 2018-09-28 23:35:39 UTC
Created attachment 145260 [details]
Updated PDF of Roboto Slab LO v2.00 alpha in Use


They also added a Medium font - which I forgot to add in the previous PDF.

.
Comment 11 Álvaro G. Vicario 2018-09-30 09:03:27 UTC
(In reply to LibreTraining from comment #8)
> These are the Roboto Slab Alpha v2.000 fonts from the link above
> and again modified to work properly in LibreOffice on Windows.
> They also added a Black font which is nice.

That totally fixes my issue, thank you very much.

I wonder if there's a way to incorporate your work into the original repository [1] so it doesn't get lost. I have no idea if Google accepts pull requests or what its policies are. There also seem to be some ongoing discussions [2] I don't really understand (fonts are way beyond my area of expertise).

[1] https://github.com/googlefonts/robotoslab
[2] https://github.com/google/fonts/issues/1618
Comment 12 mohalo 2020-08-04 07:48:28 UTC
I was searching for this software but couldn’t get this because I want it for my work. I am facing some problem in this but I found one from http://blog.wholesale2b.com/10-the-best-tech-writing-tools-as-recommended-by-tech-writers/ here and it resolve my issue and now its working fine but don’t know it will work for you guys either or not.
Comment 13 LibreTraining 2020-08-04 21:40:31 UTC
(In reply to mohalo from comment #12)
> I was searching for this software but couldn’t get this because I want it
> for my work. I am facing some problem in this but I found one from
> http://blog.wholesale2b.com/10-the-best-tech-writing-tools-as-recommended-by-
> tech-writers/ here and it resolve my issue and now its working fine but
> don’t know it will work for you guys either or not.

SPAM