Difference between revisions of "FontSelection GSOC 2022"

From Inkscape Wiki
Jump to navigation Jump to search
Line 56: Line 56:
- Click on '+' button.
- Click on '+' button.
  New collection should appear, ready to type in name.
  New collection should appear, ready to type in name.
 
- Type in new name.
- Type in new name.
  New name should appear.
  New name should appear.
 
- Drag font-family name to collection name.
- Drag font-family name to collection name.
  Font-family name should be added to collection.
  Font-family name should be added to collection.
 
- Enable collection
- Enable collection
  Font list should be fonts in enabled collection.
  Font list should be fonts in enabled collection.
 
- Repeat with second collection, adding fonts to both collections.
- Repeat with second collection, adding fonts to both collections.



Revision as of 12:37, 10 August 2022

Questions

  • Should "Font manager" be shown on start-up?
  • Should manager button be a toggle button to show state?
  • Remove "Properties" for the time being?
  • "Classification" renamed to "Filters"?

Observations

  • Classification section could be better distingquished from Collections section (to make it clear which part the '+', edit, and delete buttons apply to).
  • I'm getting stuck with all system fonts being shown and no way to hide them.

   

Testing

Speed

Should be tested with a large number of fonts installed on System (all fonts available from Google).

Functionality

With a clean start (delete preferences, any font-collection files).   > rm ~/.config/inkscape/preferences.xml   > rm ~/.config/inkscape/fontcollections/*

PART 1: Basic "Document Fonts" and "Recently Used Fonts" functionality.

- Open Inksccape, open Text and Font dialog, font tab, font-manager (button).   Should see "Document fonts", "Recently Used fonts", both unselected.   Should see all system fonts listed.

- Toggle "Document Fonts"   Should see only "sans-serif" listed (SVG default).

- Toggle off "Document Fonts"   Should see all system fonts listed.

- Toggle "Recently Used Fonts"   Should see only "sans-serif" listed (SVG default).

- Toggle off "Recently Used Fonts"   Should see all system fonts listed.

- Select text tool. Add some text to document. Change font to "xxxx".   Should see "xxxx" in "Recently Used Fonts" when expanded.

- Toggle "Document Fonts"   Should see only "xxxx" and "sans-serif" listed.

- Toggle off "Document Fonts"   Should see all system fonts listed.

- Change text font to "yyyy".   Should see "yyyy", "xxxx", and "sans-serif" in "Recently Used Fonts" when expanded.   Should see "yyyy", and "sans-serif" in "Document Fonts" when expanded.

PART 2: User collections

- Click on '+' button.   New collection should appear, ready to type in name.

- Type in new name.   New name should appear.

- Drag font-family name to collection name.   Font-family name should be added to collection.

- Enable collection   Font list should be fonts in enabled collection.

- Repeat with second collection, adding fonts to both collections.

TO DO

-- Deleting collections, deleting fonts from collections, editing fonts in collections (CSS font fallbacks). -- Filter based on "Classification".