Opened 8 years ago

Closed 8 years ago

#7564 closed defect (fixed)

Noto fonts seem not to work

Reported by: ken@… Owned by: bdubbs@…
Priority: normal Milestone: 7.10
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

I installed the full set of these, and in /usr/sharefonts/Noto I have the proverbial shedload of ttf fonts. In gucharmap, all the various Noto fonts are listed (although it is not obvious which particular font would support non-bold latin), but when I select them they either show a small rectangle in the glyph area, or the glyph which is displayed comes from a different font (right-click on the glyph in gucharmap to see which font is providing it).

When I look at the (historic) Lycian page after choosing the Noto Sans Lycian font, I get the following on stderr:

(gucharmap:17980): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans Lycian 20'

(gucharmap:17980): Pango-WARNING **: font_face status is: file not found

(gucharmap:17980): Pango-WARNING **: scaled_font status is: file not found

(gucharmap:17980): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='PangoFcShapeEngine', font='Noto Sans Lycian 20', text='𐊜'

(gucharmap:17980): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans Lycian 118.517578125'

(and some more like this)

And when I use LO writer, none of the Noto fonts are listed.

Change History (5)

comment:1 by bdubbs@…, 8 years ago

I see that too. Check permissions. Mine were 0640, changing to 0644 makes a big difference in gucharmap.

comment:2 by ken@…, 8 years ago

(pressed submit instead of preview, got the markup wrong)

Thanks Bruce - that fixes it. In libreoffice writer they now all show up too, including an initial Noto Sans which is the main latin font.

This also fixes things in firefox - I looked at wikipedia pages such as [ https://en.wikipedia.org/wiki/Burmese_language ] which has the Burmese name for the script in the first line of text. On my previous system, I got boxes with dots (i.e. no font provided those glyphs). With mode 644 I got what were probably zero-width glyphs - no whitespace or dotted boxes, it was hard to tell what was missing.

The "main" font is NotoSans-Regular, for some reason I could not see that in the list of fonts offered by bash's completion until I typed NotoSans- and again pressed tab.

Last edited 8 years ago by ken@… (previous) (diff)

comment:3 by bdubbs@…, 8 years ago

Good. I'll fix the book. I'm glad it was that easy.

comment:4 by bdubbs@…, 8 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:5 by bdubbs@…, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 17099.

Note: See TracTickets for help on using tickets.