Created attachment 98336 [details]
font list where cambria and calibri are not installed
After filling bug 77910, i think it would be a good idea to have LibO show some type of indication that a particular font isnt installed/accessible by LibO. Presently i'm able to guess that a particular font isnt installed/accessible in LibO when the font isnt rendered in the list and has no anti-aliasing. A possible suggestion would be to have the font colored in red and in bold. Another possible one would be to add ' (not installed)' to the end of the font name. And another suggestion would be to highlight the background color of the font in the list in red.
When I look at Format > Font (or the same tab in the Style dialog) then that is indicated under the font list / language control...
So IMO a WORKSFORME ?
Sorry Cor Nouws, I didnt understand what you meant.
On the place that I mention, there is a message if a font is not available.
Still not getting it Cor. I dont see a Format > Font menu item.
(In reply to comment #4)
> Still not getting it Cor. I dont see a Format > Font menu item.
Must be Format > Character ... tab Font. Apologies.
Created attachment 98358 [details]
show Cambria Regular but LibO cant access it
I checked that list and that unfortunately doesn't help when a font is defined in a document and isnt present/accessible on the system, as can seen in the latest attachment. Is there an easy means of see a list of fonts used by a particular document?
If possible, it would be nice if an error/notification dialog would appear after the loading of the document stating which fonts are present in the current document that are not available in LibO, with that ability to disable to notification from further occurring for those who dont wish it to appear.
I'm not entirely sure what do you mean. If a font is not installed on your system, then it won't appear in the font list! Moreover - if you try to type a name of a non-installed font, or open a document that uses a non-installed font, its name will appear with Italic styling (Just try to type 'NonExistFont' or other junk in the font combo box of the formatting toolbar, and press 'Enter').
In your case the font 'Cambria' considered as installed, because the Bold/Italic variants of it are TTF files, and do recognized by LO. Do you really want that fonts which don't have all the styles (Regular/Bold/Italic) would be marked in a special way? What's the use of it?
(In reply to comment #9)
> Hi Jay,
> I'm not entirely sure what do you mean. If a font is not installed on your
> system, then it won't appear in the font list! Moreover - if you try to type
> a name of a non-installed font, or open a document that uses a non-installed
> font, its name will appear with Italic styling (Just try to type
> 'NonExistFont' or other junk in the font combo box of the formatting
> toolbar, and press 'Enter').
Yes i see what you mean with the font showing in italics, but how would someone not familiar with what an italicized font name know what it meant?
> In your case the font 'Cambria' considered as installed, because the
> Bold/Italic variants of it are TTF files, and do recognized by LO. Do you
> really want that fonts which don't have all the styles (Regular/Bold/Italic)
> would be marked in a special way? What's the use of it?
Yes i see now that it would be complicated to have a useful indication in the font drop down when fonts have variants and possibly one of those variants are missing. Personally, i would like to know as soon as i opened a document that a particular font or font variant was used in the document and isnt installed on my system, which would mean that i'm not seeing the file as it was originally created. It showing up as a dialog box would be great or possibly as an notification popup like IE or firefox < http://upload.macromedia.com/exchange/dreamweaver/previews/ie-ff-coolbar.jpg >, < http://davidtenser.files.wordpress.com/2012/01/popup-blocker.png >, < http://media.askvg.com/articles/images5/Addon_Ready_For_Use_Internet_Explorer_Notification.png >. Basically something that would be hard to miss, but could be disable permanently for those that dont care to have the feature.
Right now with the testing i'm doing for .docx files, i have to unzip the file, go into the xml file with the list of fonts and then make sure i have those fonts installed in order to make sure that the file will be rendered correctly. But if there was a simpler means to find out the list of fonts that are used in a particular file, that would quite helpful.
So let's summarize: You want some way (probably a dialog) to show a list of all missing fonts, and maybe also some kind of notification while opening the document. By 'missing fonts' you mean also a particular style that is used in the document, but isn't installed on the system.
Yes your summary is correct. I think the best and less annoying means to achieve the notification would be to have an error notification icon in the statusbar like in IE < http://www.tutorialspoint.com/images/error_icon.gif > and firefox < http://www.indiana.edu/~purchase/resources/img/apple2.gif > or one in the menubar similar to the update notification icon. When the user clicks on it, it would show the names of the missing fonts/font variants not available.
Ideally, i'd like a dialog to show a list of all the fonts and variants used in a document, likely added as a tab in the 'Styles and Formatting' dialog, with some type of indication of which ones are not accessible to LibO (possibly shown in italics, with tooltips mentioning that its not accessible), and with the use of a drop down menu to filter the list by 'All Fonts', 'Missing Fonts', 'Substituted Fonts', etc.
(In reply to comment #6)
> Created attachment 98358 [details]
> show Cambria Regular but LibO cant access it
And what can you read beneath the line with dropdown boxes? :)
(In reply to comment #13)
> And what can you read beneath the line with dropdown boxes? :)
Yes underneath the drop down it says "This font style will be simulated or the closest matching style will be used.", when normally underneath the drop down it says "The same font will be used on both your printer and your screen.", so its something the wouldnt attract user's notice of it unless it was compellingly different from what it normally is, which is why in the font drop down in the formatting toolbar, it italicizes fonts that are not available on the system. :)
Italicizing unavailable font names is bugged and unreliable, BTW.
(In reply to comment #15)
> Italicizing unavailable font names is bugged and unreliable, BTW.
Yes it isnt perfect as when i have text in Cambria Regular and dont have Cambria Regular installed, but i do have Cambria Italics installed, it wont italisize Cambria in the drop down menu when i select Cambria Regular text.
pulled from bug 80427 comment 11 - "First, there are two Asian fontfaces in the document that are not in my OSX system. I know this because I opened the file in Keynote and it is kind enough to tell me so. It even says it will replace them by TimesRoman (nice UI advantage over LO there ;-) )"
Seems like an infobar for missing font notification has been discussed in some way according to < https://wiki.documentfoundation.org/Design/Guidelines#Infobar >.
@Alex: could you post a screenshot of how the Keynote notification looked when you loaded the file with the missing fonts.
*** Bug 82227 has been marked as a duplicate of this bug. ***
There seems to be an infobar facility already built into LibO, as mentioned in bug 80538 for the infobar to appear when a user opens a read only file. Hope it can be used for this issue.
(In reply to comment #20)
> There seems to be an infobar facility already built into LibO, (...)
You are referring to the "next" LibreOffice generation? I have never seen an infobar in 4.1 and 4.2 (AFAIR).
(In reply to comment #21)
> You are referring to the "next" LibreOffice generation? I have never seen an
> infobar in 4.1 and 4.2 (AFAIR).
Ulrich, LibreOffice generations do not exist. It is developed progressively, building upon the previous versions. The infobar widget has been implemented since 2012, but so far it has been underused. Currently, you can only see it if you work with remote documents over a CMIS connection, or if you try to edit a VBA macro in LibreOffice Basic. See http://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=infobar.
Read through your bug report Ulrich and this bug does covers all the missing font related parts of your bug.
1) indication of missing fonts (basically infobar)
2) list of document fonts and indication of which ones are missing
Liked your idea of the list of document fonts list also mentioning substitutes for missing fonts. Maybe that could be put in the missing font tooltip. :)
Is there anything that the extension TestFonts (http://extensions.services.openoffice.org/en/project/TestFonts ) does not provide, that is needed to resolve this issue?
The extension does produce an output that addresses the main issues identified, and it would be great if it could be extended to show what font LO is substituting for the non-existing font.
(In reply to jonathon from comment #24)
> Is there anything that the extension TestFonts
> (http://extensions.services.openoffice.org/en/project/TestFonts ) does not
> provide, that is needed to resolve this issue?
I just tried: In an old document it listed font "Conga". What I miss is to find the exact spot where it's used. When I tried the search functions, I got "Couldn't find next occurence of font 'Conga'". Maybe I'd prefer a list with hyperlinks to click on that would navigate me to the ocurrence of the missing font.
Migrating Whiteboard tags to Keywords: (needsDevEval, topicUI)
My proposal was published on the design blog of using the infobar as the notice
and use the File > Properties dialog's Font tab to list all the fonts used in the document and which fonts are being substituted or simulated. My design is on the right and Heiko's design is on the left.
*** Bug 128226 has been marked as a duplicate of this bug. ***