Bug 125960 - Need new set of favorite fontwork shapes in the Fontwork Gallery
Summary: Need new set of favorite fontwork shapes in the Fontwork Gallery
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.0.0
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2019-06-16 18:35 UTC by Regina Henschel
Modified: 2020-08-26 08:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
40 existing Fontwork elements (36.57 KB, application/vnd.oasis.opendocument.presentation)
2019-08-11 21:02 UTC, andreas_k
Details
Fontwork update from Jun Nogata (137.25 KB, application/vnd.oasis.opendocument.graphics)
2020-01-14 21:15 UTC, andreas_k
Details
40 new FontWork Styles (1.07 MB, image/png)
2020-03-08 19:13 UTC, andreas_k
Details
Fontwork update proposal (137.24 KB, application/vnd.oasis.opendocument.graphics)
2020-03-08 19:15 UTC, andreas_k
Details
Comparise between Andreas's image and my screen with opened Draw file (814.64 KB, image/png)
2020-03-08 20:17 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2019-06-16 18:35:54 UTC
The current set of "Favorite" shapes in the Fontwork Gallery are not well usable. Problems:
* The shapes are stored in the (hidden) gallery theme "sg36". Because that is a binary format, it is nearly impossible to maintain them.
* The files, which are stored in this theme, come from OOo2. At that time, fill bitmaps where not included in the file, but taken from the Gallery. So the fill bitmap is now missing in favorite 04, 08, 23, 25, 27, 29, 35 and 38.
* OOo2 had use a gradient filling, where each character is filled separately. LibreOffice stretches the fill gradient over the entire shape (and that is good). So the preview images in the files are wrong. And those are shown in the Gallery window. That happens with favorite 03, 10, 11, 16, 17, 19, 24, 26 and 39.
* The shadow, which you actually get differs from the shadow shown in the thumbnails. The actual light in the 3D-shapes is different from the light shown in the thumbnails.
* There exists no favorite with multi-line text.
* MS Office has 40 preset text warp types. The favorites cover only 26 types, and the others are not reachable via the "Shape Type" window. (The "Shape Type" window needs likely an improvement too, but that is a different topic.)
* The favorites are very old. Tastes change.
Comment 1 andreas_k 2019-07-28 20:20:32 UTC
I'm interested in update the Fontwork Gallery but I see also the issue that you can't edit the different "favorite" elements separate or at least with an text editor. this make it also difficult to update them.

As other gallery items are single png or svg file I recommend to use for gallery items the LibreOffice Draw file format .odg maybe it would be possible to have one text file for all the needed gallery stuff and each gallery item is an .odg file you can edit with draw and use as gallery item.
Comment 2 andreas_k 2019-08-08 17:28:05 UTC
as Fontwork is an gallery theme how can I see the gallery theme in the gallery sidbear? when I copy the sg36* files into the user gallery folder it's not visible in the gallery sidebar.
Comment 3 Regina Henschel 2019-08-08 20:40:38 UTC
(In reply to andreas_k from comment #2)
> as Fontwork is an gallery theme how can I see the gallery theme in the
> gallery sidbear? when I copy the sg36* files into the user gallery folder
> it's not visible in the gallery sidebar.

You need to set the environment variable GALLERY_SHOW_HIDDEN_THEMES.
Comment 4 andreas_k 2019-08-11 21:02:59 UTC
Created attachment 153308 [details]
40 existing Fontwork elements

that's what is available and should get an update.
Comment 5 andreas_k 2020-01-14 21:15:44 UTC
Created attachment 157153 [details]
Fontwork update from Jun Nogata

I get some help from Jun Nogata how do I get this fontwork stuff into the s36* theme?
Comment 6 andreas_k 2020-02-17 21:16:28 UTC
> 
> You need to set the environment variable GALLERY_SHOW_HIDDEN_THEMES.

how or where do I set this variable?
Comment 7 Regina Henschel 2020-02-17 22:14:03 UTC
(In reply to andreas_k from comment #6)
> > 
> > You need to set the environment variable GALLERY_SHOW_HIDDEN_THEMES.
> 
> how or where do I set this variable?

It depends on your operating system. In Windows 10 click on Settings and search for "environment variables".

Find more about environment variables in https://wiki.openoffice.org/wiki/Environment_Variables. But I don't know, how much is still working in LibreOffice.
Or the list for LibreOffice
https://wiki.documentfoundation.org/Development/Environment_variables
Comment 8 Regina Henschel 2020-02-17 22:17:08 UTC
In addition consider to temporarily use AVOID_BURN_IN_FOR_GALLERY_THEME
Comment 9 andreas_k 2020-02-17 22:36:47 UTC
And in Linux
Comment 10 andreas_k 2020-02-18 22:44:26 UTC
Ok I can now see the gallery, but it's always in read only mode.

GALLERY_SHOW_HIDDEN_THEMES=true SAL_USE_VCLPLUGIN=gtk3 /opt/libreofficedev7.0/program/soffice

How can I delete and add to the sg36* gallery stuff?
Comment 11 Regina Henschel 2020-02-19 00:49:34 UTC
(In reply to andreas_k from comment #10)
> Ok I can now see the gallery, but it's always in read only mode.
> 
> GALLERY_SHOW_HIDDEN_THEMES=true SAL_USE_VCLPLUGIN=gtk3
> /opt/libreofficedev7.0/program/soffice

Do you have writing rights there?

> 
> How can I delete and add to the sg36* gallery stuff?

You can add a shape by drag&drop. You can delete by context menu. Works at least on Windows.
Comment 12 andreas_k 2020-03-08 19:13:36 UTC
Created attachment 158499 [details]
40 new FontWork Styles

my proposal for FontWork update
Comment 13 andreas_k 2020-03-08 19:15:23 UTC
Created attachment 158500 [details]
Fontwork update proposal

attached the source draw file.
Comment 14 Roman Kuznetsov 2020-03-08 20:16:11 UTC
(In reply to andreas_k from comment #12)
> Created attachment 158499 [details]
> 40 new FontWork Styles
> 
> my proposal for FontWork update

looks beautiful, but if I don't have some fonts, then I see difference between your image and my screen (see attach)

I think you should use only standard fonts from LibreOffice distribution
Comment 15 Roman Kuznetsov 2020-03-08 20:17:26 UTC
Created attachment 158501 [details]
Comparise between Andreas's image and my screen with opened Draw file
Comment 16 Regina Henschel 2020-03-09 14:24:41 UTC
Open Fontwork toolbar, second icon from left. It shows the available Fontwork shape types. We have 30 types, without the currently 4 broken ones 26 types. I think, that the gallery (and the floater) should show at least one example of each type. 

Some shape types need several lines of text to make its design visible. That should be considered too.

I second Roman, that only fonts should be used, which are delivered by LibreOffice on all platforms.

Please make sure, that when exporting a file to ppt, the examples look good in PowerPoint. Export to pptx is not fully implemented, so no need to care about it now.

Perhaps add one example with east Asian writing mode and one with right-to-left writing mode?
Comment 17 andreas_k 2020-03-29 13:20:34 UTC
I used only Fonts which are installed by default 
(https://wiki.documentfoundation.org/Fonts)

About the different shapes, you are right Regiona and some are really cool and fancy, but I will add as less as possible which will show the user an idea what's possible. And the user can than play around with the different settings.

Compare to other Office suites the Fontwork stuff aren't that fancy as in the past so also the presets start with more simple shapes and end with what's possible.

In addition to Fontwork update I'll make an gallery with all the work what was done.

powerpoint export and import are very difficult and look not finished yet.

I hope this is ok for everybody, cause I'd like to finish this task.
Comment 18 Commit Notification 2020-03-29 19:34:26 UTC
andreas kainz committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9e060b67c03deb495c6da2e7b0bb399c21aae138

tdf#125960 update fontwork shapes for fontwork gallery

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 19 Martin Srebotnjak 2020-03-30 12:18:57 UTC
I hope the new Fontwork will solve this bug:
https://bugs.documentfoundation.org/show_bug.cgi?id=68247

Thanks, m.