View Issue Details

IDProjectCategoryView StatusLast Update
0014708ScribusFontspublic2017-04-16 15:17
Reporterale Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.5.3.svn 
Fixed in Version1.5.3.svn 
Summary0014708: the default font is the first one
Descriptioncurrently, when creating the settings, scribus defined the font for the default styles as the first one. alphabetically.

that's a big issue, when the first font installed is one that does not match the user's alphabet.

we should have a hierarchy of fonts that we can try to detect and set as the default one.
TagsNo tags attached.
PatchNo

Activities

jghali

2017-03-28 12:29

administrator   ~0043669

There is already some default list but more tailored at Windows. See prefsmanager.cpp line 138:

    for ( SCFontsIterator itf(appPrefs.fontPrefs.AvailFonts); itf.hasNext(); itf.next())
    {
        if ((itf.currentKey() == "Arial Regular") || (itf.currentKey() == "Times New Roman Regular"))
        {
            appPrefs.itemToolPrefs.textFont = itf.currentKey();
            goodFont = true;
            break;
        }
    }

For Linux, we could easily add some other fonts. I see those fonts as good candidate to be used as default font:
- DejaVu Sans Book
- DejaVu Sans Condensed
- LiberationSans Regular

We just need some input from Craig or any other Mac user to know if some Mac specific fonts could be added to this list.

utnik

2017-03-28 15:09

updater   ~0043670

'helvetica' should be available on almost every mac since aeons…

JLuc

2017-03-30 04:31

developer   ~0043673

jean : you commited a patch for that issue, accounting for all these common fonts and some more :
       defaultFonts << "Arial Regular";
        defaultFonts << "Times New Roman Regular";
        defaultFonts << "DejaVu Sans Book";
        defaultFonts << "DejaVu Sans Condensed";
        defaultFonts << "Liberation Sans Regular";
        defaultFonts << "Helvetica Regular";
        defaultFonts << "Helvetica Neue Regular";

Could we have them reordered so scribus chooses a free font in case both a free font and a non free font exist ?

That is having the free fonts listed first i guess.

thanks in advance

ale

2017-03-30 07:43

manager   ~0043674

hi jean

on the forum (where the issue first came up: http://forums.scribus.net/index.php/topic,2371.0.html) the discussion has lead to the following list:

- linux libertine regular
- dejavu sans
- open sans
- helvetica regular
- arial nova regular
- arial regular

the first font found would be applied.

using this list will ensure that:
- if somebody has free fonts installed, they would be picked.
- on windows and mac you should be pretty sure to have a sane font selected
- on linux it will be sane on "normal" systems (but not on minimal ones, with no office installed)

concerning "your" list:
- i would not check sans condensed after sans book (if the first is not installed, the second is probably not and viceversa)
- i had the feeling that liberation is not a high quality font for print, but i might be mistaken
- i would not pick times after arial and before helvetica. on every system where you have times installed by default you should also have arial or helvetica.

jghali

2017-03-30 12:45

administrator   ~0043676

1) " Linux Libertine Regular" and "Arial Nova" are not fonts installed by default on Fedora, OpenSuse, Ubuntu, Mint and Windows, so they cannot figure in this list.
2) Helvetica is not provided on Windows, but both Arial and Times New Roman are, on both Mac and Windows, so Arial and Times New Roman should come first for cross-platform consistency.
3) I'll add Open Sans in the list

ale

2017-03-30 15:37

manager   ~0043677

if both arial and times are always present on the same system, there is no reason to check both. the second one will never be picked.

it seems that arial nova has been added to the newest windows and i guess it's better than the old arial... so it should be in the list and before arial

of course, first the free ones then the proprietary ones...

jghali

2017-03-30 15:46

administrator   ~0043678

>> it seems that arial nova has been added to the newest windows

Arial Nova is available but not installed by default.

jghali

2017-03-30 15:54

administrator   ~0043679

Also Arial Nova has currently no usable font features contrarily to the version of Arial shipped by Windows 10.

ale

2017-03-30 16:43

manager   ~0043680

then no arial nova :-)
of course.

jghali

2017-03-30 19:27

administrator   ~0043684

Last edited: 2017-03-30 19:29

About the free/non free order, my position and Craig's is pretty much the same. To sum it up, we do not care about free/non free if there is no very practical reasons behind. In this case prioritizing free fonts over non free ones is just a political choice while the non free fonts in the list have a proven track record in professional printing. On Linux, Arial, Times and Helvetica are usually not installed by default, so the free fonts will be prioritized in most cases anyway.

JLuc

2017-03-31 09:17

developer   ~0043687

Last edited: 2017-04-03 06:36

I'm afraid i have to disagree with some parts of your post : the choice of "not caring about free/non free if there is no practical reason" IS politic ; and the choice of favouring "proven track in professional printing" IS politic also.
To be ethically neutral and ideology free is in itself an ideological claim that generaly leads to ignorance and empower the mainstream ideology.

Issue History

Date Modified Username Field Change
2017-03-27 16:40 ale New Issue
2017-03-27 17:15 jghali Product Version 1.5.3 => 1.5.3.svn
2017-03-27 17:15 jghali Category - => Fonts
2017-03-28 12:29 jghali Note Added: 0043669
2017-03-28 15:09 utnik Note Added: 0043670
2017-03-29 19:35 jghali Summary the default font is the the first one => the default font is the first one
2017-03-29 22:17 jghali Assigned To => jghali
2017-03-29 22:17 jghali Status new => resolved
2017-03-29 22:17 jghali Resolution open => fixed
2017-03-29 22:17 jghali Fixed in Version => 1.5.3.svn
2017-03-30 04:31 JLuc Note Added: 0043673
2017-03-30 07:43 ale Note Added: 0043674
2017-03-30 07:44 ale Status resolved => feedback
2017-03-30 07:44 ale Resolution fixed => reopened
2017-03-30 12:45 jghali Note Added: 0043676
2017-03-30 15:37 ale Note Added: 0043677
2017-03-30 15:37 ale Status feedback => assigned
2017-03-30 15:46 jghali Note Added: 0043678
2017-03-30 15:54 jghali Note Added: 0043679
2017-03-30 16:43 ale Note Added: 0043680
2017-03-30 19:27 jghali Note Added: 0043684
2017-03-30 19:29 jghali Note Edited: 0043684
2017-03-30 19:36 jghali Status assigned => resolved
2017-03-30 19:36 jghali Resolution reopened => fixed
2017-03-31 09:17 JLuc Note Added: 0043687
2017-03-31 09:18 JLuc Note Edited: 0043687
2017-04-03 06:36 JLuc Note Edited: 0043687
2017-04-16 15:17 cbradney Status resolved => closed