Bug 155568 - Visual preview of fonts in document properties dialog.
Summary: Visual preview of fonts in document properties dialog.
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-12 21:00 UTC by Robert Knight
Modified: 2008-02-26 21:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Knight 2008-01-12 21:00:05 UTC
Version:            (using KDE KDE 4.0.0)
OS:                Linux

It would be easier to relate the fonts shown in the document properties dialog to text on the page if the font list included a visual preview of the font.  For example, by rendering each font name with that font.

A related issue is that I think it would be possible to tidy up the font list by reducing the number of columns.  For example, is the "Type" column really useful?  Since the file column is empty for many fonts, it might be better to put that information underneath the font name in a smaller size where applicable.
Comment 1 Pino Toscano 2008-01-12 22:15:38 UTC
> if the font list included a visual preview of the font.

This could work only for fonts not embedded in the document.

> For example, by rendering each font name with that font. 
 
Well, you should always write the font name in the current font, as the font could have non-Latin1 characters for the ones of its name (think about a font for old greek alphabet...)

Once I did http://img417.imageshack.us/my.php?image=tmp39sd7.png, but we decided that the current way was more "functional" (albeit a bit "classic").
Comment 2 Albert Astals Cid 2008-01-13 21:03:12 UTC
Do you really get empty types? As far as i remmeber this is not possible, can i get a pdf with this behaviour?
Comment 3 Eike Hein 2008-01-16 00:27:47 UTC
From an IRC discussion about Pino's shot:

<Sho_> Hm well, my first impression is this: I don't see the format in the shot as an imrovement over the current table view, since it basically shows the same data just in a format that has you scroll more to get an overview, which I find less desirable. However the move to that list style would be more justified if it would show more/different data, like a font preview right in the list.
<Sho_> If I consider why I would ever use the font list, it's this: I open a document, I see a font I like in it, and I want to find out the name of that font, so I go into the list, scan for the font I like by looking for its preview, and then see the name.
<Sho_> And that would be speedier and more discoverable with an in-line preview vs. a tooltip I might never know about.
<Sho_> In the above scenario, if there's no preview or I can't find it, I have to Google for all the font names in the list I don't know and compare the images I find to the document to find out which name is the name of the font that I like.
<Sho_> However if there's a preview, Okular has just saved me lots of time and I'm happy and tell my friends Okular is a great tool to discover fonts in PDF documents. ;)


In fact, I wonder if it would be possible to build a color chooser-like tool into the dialog, i.e. activate the tool, click on text in the document, and the list selects the responsible one. Pino? ;)
Comment 4 Pino Toscano 2008-02-26 21:17:12 UTC
SVN commit 779697 by pino:

Add a tooltip with the embedded status of the font, and the visual preview of it if it is not embedded.
(Columns were simplified by a previous commit.)

BUG: 155568


 M  +30 -0     propertiesdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=779697