Difference between revisions of "Release notes/1.2"

From Inkscape Wiki
Jump to navigation Jump to search
Line 832: Line 832:
* As Python <code>distutils</code> are now deprecated, they have been replaced by <code>python3-packaging</code> ([https://gitlab.com/inkscape/extensions/-/merge_requests/368 MR extensions#368])
* As Python <code>distutils</code> are now deprecated, they have been replaced by <code>python3-packaging</code> ([https://gitlab.com/inkscape/extensions/-/merge_requests/368 MR extensions#368])
* The extension that imports images from the internet requires the Python <code>cachecontrol</code> module
* The extension that imports images from the internet requires the Python <code>cachecontrol</code> module
* gcodetools (<code>gcodetools</code>), extension manager (<code>inkman</code>) and clipart importer (<code>clipart</code>) are now all submodules of the extensions submodule. Make sure to update submodules recursively with <code>--recurse-submodules</code> when updating your git branches!


== Known issues [as of 2022-04-20] ==
== Known issues [as of 2022-04-20] ==

Revision as of 00:37, 10 May 2022


Warning symbol.png These Release Notes are in Draft Status.

Note: Not all animations work, due to Wiki bugs with resizing images. Release notes will be transferred to website, there animations will be working.

Important Links:



Warning symbol.png Pending questions:



Release highlights

Definitely not released yet.

General user interface

Color palette

The overall look and options of the Color palette and the Swatches dialog got a massive overhaul (MR #2881):

  • When switching the color palette, the switcher shows a colorful preview line for each palette
  • Between 1 and 5 palette rows that can be displayed all at once, or scrolled through vertically / using the arrow buttons
  • Improved and reliably working settings for padding, tile size and tile shape / auto-stretching
Color palette layout options

Status Bar

  • The layer selection drop-down has been replaced by a layer indicator. Clicking on the indicator opens the new Layers and object dialog. This change improves Inkscape's performance for documents with many layers (MR #3648).
  • The status bar contents are now configurable from Edit → Preferences → Interface: Status bar (MR #3445)
  • When your document has more than one page, the status bar shows the page navigation to the right of the message area, allowing you to leaf through the pages or to select a specific page directly

Tool Bar

  • The Tool bar width can now be adjusted by dragging its edge. The tool icons will wrap into multiple columns, depending upon the width.
  • You can now hide tools from the tool bar at Edit → Preferences → Interface → Toolbars: Toolbars (MR #3515)
Toggling tool visibility for the tool bar

Context menus

  • Context menus no longer contain functionality that is not available for the selected object (no greyed-out items anymore), making it easier to find what you're looking for. This also helps find objects you've hidden, as the option to unhide objects under the cursor only appears if there are hidden objects in that location (MR #3800).
  • The Extract image command has been improved and works with multiple images now. You can now enter a base filename; if none is entered, the ids of the selected images are used as filename. You can also choose whether the embedded image data should be replaced by a link to the exported file (MR extensions#461, Bug extensions#167).

Dithering

Inkscape's gradients sometimes suffered from visible steps between colors, a phenomenon also known as gradient banding. Gradient banding is caused by the difference between how many different colors are available for the selected image file format and how many colors a human eye can discern. The effect becomes especially prominent when exporting a gradient that only spans a small color range to a high-resolution image. There just aren't enough colors available for a smooth transition.

Dithering softens these steps by scattering pixels of the different adjacent colors along the gradient, a little bit like a blur.

Dithering is now used both for Export of raster images as well as for displaying gradients on canvas (MR #3812). This functionality requires a special version of Cairo, our rendering engine. This means that it will only be available in the pre-packaged builds (for macOS, Windows and for the Linux AppImage).

Dithering can be turned off (better performance / smaller exported file size for raster images) in Preferences → Rendering → Use dithering.

Note:

  • Dithering does not work for mesh gradients!
  • For standard Linux package formats (deb, rpm, …), it depends upon your Linux distribution maintainers whether they will patch up the version of Cairo they want to distribute. We hope that this change will one day also be included in the official Cairo packages (Link to ongoing discussion).
Top: Gradient banding, bottom: dithered, smooth gradient

Performance

  • Various performance improvements for rendering while panning and zooming (MR 3838)
  • Improved performance on macOS

Canvas

Page

  • Inkscape documents can now hold multiple pages! Learn more in the section about the new Page tool.
  • Page shadows now have a more realistic, blurry, fade-out look (MR #3128).
  • Settings for the page background / decoration (shadow, border) were refactored, see section about Document properties dialog.
  • The page's default color is white, and the default desk color is set to light gray. This way, it is easier to differentiate what is on the page(s) and what is outside of the page(s).
Page shadow comparison. Left: Inkscape 1.1, right: Inkscape 1.2

Snapping

New snap settings layout

Snap popover

The snap bar has been replaced with a new 'popover'-type dialog, which will unfold when you click on the little arrow symbol in the top right corner, next to the snap symbol. Snap options now have always-visible descriptions, to make them easier to understand (MR #3323).

To activate / deactivate snapping globally, click on the snap symbol in the top right corner or press %.

The popover dialog has two different modes:

  • Simple: Only 3 options: snap bounding boxes and paths, activate / deactivate the new alignment snapping). This provides simple presets for many use cases.
  • Advanced: Gives the familiar granular control over every snapping option.

Note: Switching from 'Advanced' back to 'Simple' is not merely a visual change, but will reset snap settings to defaults.


Alignment and Distribution snapping

During Google Summer of Code 2021, GSOC student Parth Pant worked on adding on-canvas alignment and distribution snapping, with the support of his mentors Thomas Holder and Marc Jeanmougin. As a result, two new modes of on-canvas snapping have been added. These new modes make aligning and distributing objects a very easy drag-and-drop operation (MR #3294)..

  • When on-canvas alignment is active (option Alignment), Inkscape will display horizontal or vertical temporary guide lines that indicate when the selected object can be aligned relative to another object on the canvas. It connects the points of the objects that are in alignment. With the option Nodes in same path, alignment snapping is also available for nodes while editing a path with the node tool.
  • With distribution snapping (option Same distances), multiple objects close by are taken into account, making it possible to align objects in a grid with very little effort.

The temporary guide lines only appear while editing / moving objects on the canvas. Once a guide shows up, the movement of the selection is loosely constrained in the direction of the guide.

Alignment and Distribution snapping guide lines can display the distance(s) between objects as a little label. This can be enabled from Edit → Preferences → Snapping: Show snap distance in case of alignment or distribution snap.

The 'Simple' mode of the snapping popover dialog allows you to simply activate or deactivate Alignment snapping. The 'Advanced' mode gives you additional control by allowing you to en-/disable:

Other Changes to Snapping

  • Snap settings are no longer saved with the document, but are set globally for all documents in the preferences and in the snap popover dialog.
  • The option for enabling snapping in new documents has been removed, as it no longer makes sense.
  • The options for snapping perpendicularly and tangentially to paths or guide lines have been moved from the document preferences to the snap popover to make them more discoverable.
  • The options to configure snap tolerances per snap target type that previously could be set in the document preferences have been removed to simplify snapping for users.


Guides

  • The size of the guide handles is now adjustable via the existing setting Edit → Preferences → Interface → Handle size. Nonetheless, the guide handles react to this setting at half the rate of other handles; at large settings, the effective size of a guide handle is about half the size of an auto-smooth node. At the same time, a minimum size is enforced, equal to the previously hard-coded size. As a result of this mechanism, the handle is only enlarged when the Handle size preference is set to a value of 7 or larger. Since the default value is 3, the size of guide handles does not change on new installs or for users on default settings .
  • Larger handles can now easily be grabbed with the mouse, because the handles themselves are now 'grabb-able', not only the guide lines below.
  • Handles now take on the guide's color. Only when the guide is locked, its handle turns grey (and changes the shape to an "x", as before).
  • The default color of guides was changed to a softer shade of blue.

(Bug #3111, MR #3870)

New guide appearance (enlarged for better visibility, and thus pixelated)

Tools

Page tool

Context menu for the Page tool

The new Page tool (lowest button in the tool bar) allows you to create multi-page Inkscape documents, and to import as well as export multi-page PDF documents. (MR #3486, MR #3785, MR #3821). It supports overlapping pages and pages of different sizes in a single document.

Tool usage:

  • To create a new page either:
    • click-and-drag on the canvas
    • or click on the 'Create a new page' button in the tool controls
  • To delete a page, click on the page to select it, then click on the button Delete selected page or use the Del or Backspace keys.
  • To move a page on the canvas, click-and-drag it to the desired new position. If the option to Move overlapping objects is active, this will also move any objects that touch the page along with it.
  • To change a page's size:
    • click on a page whose size you want to change to select it, then drag the square-shaped handle in its bottom right corner
    • click on the page, and then choose one of the predefined sizes in the page size dropdown, or enter your size values for the 'Custom' option, by typing them into the field in the form of 10cm x 15cm
  • To fit a page to:
    • the size of the drawing: make sure to have no object selected before you switch to the Page tool. Then select a page by clicking on it, then click on the button 'Fit page to drawing or selection' in the tool controls
    • a selected object: first select the object(s) with the selection tool, then switch to the Page tool, click on a page to select it, then press the the button 'Fit page to drawing or selection' in the tool controls
  • To add a label to your page, select the page by clicking on it, then enter a name or label for it into the text field in the page tool's tool controls. Labels are always visible, no matter which tool is currently selected.
  • To export a multi-page PDF file, use File → Save a copy … → PDF. This will automatically include all pages. If you only want to export a certain page, or a selection of pages, the updated File → Export dialog's batch export tab can help you get that done (one file per page).
  • To open or import a multi-page PDF or AI (pdf-based) file, use File → Open/Import → select file name → choose to import 'All' pages [Known issue: 'import' moves content of some pages to some far out place in the drawing]
  • You can navigate pages with page navigator on that will show up in right down corner of status bar

Note: Multi-page SVG files are an Inkscape-specific concept. Web browsers will only display the first page of your document, which corresponds to the 'viewbox' area of the SVG file.

Selector Tool

The tool now allows to set the origin of the selection for precise numerical positioning to one out of 8 possible positions:

  1. If no handle is selected, the default origin is the top left corner of the bounding box.
  2. To change, click on one of the other 7 outside object handles to select your desired origin for the scaling.
  3. The selected handle is now highlighted in blue and the x/y position in the tool controls will adjust to the new origin.
  4. Now edit the x, y, width or height values to move and scale your object using the new origin (MR #2700)
  5. To reset the transformation origin, Shift + Click on the highlighted handle.

[TODO: needs new gifs, center movable handle has been removed]

Text Tool

Text spacing/kerning options in a popover dialog
  • Kerning options are now symbolized by a button between the subscript and text direction selectors. Clicking on it will open a so-called pop-over, where all previously available options can be found. This change saves space in the Text tool's toolbar.
  • Negative kerning values can now take on values as small as -1000 (previously -100), making them symmetrical to their positive counterparts (MR #2569, MR #3434)
  • Padding: Text that is flowed into a shape and standard flowed text now has an additional square-shaped handle in the top right corner. Move the handle to adjust the text padding inside the frame (MR #2769)
  • Exclusion zones: Text can now flow around one or more movable objects:
    1. Select all object(s) (use only shapes and paths on the same object hierarchy level as the text; no groups / clones / images supported) and the text.
    2. Set the exclusion zone by going to Text → Set subtraction frames.
    3. Now you can move the exclusion objects around or edit their shape, and the text will adjust automatically.
    4. If you want to change the exclusion zones again at a later point, repeat the process with all objects that the text should flow around.
      Background info:
      SVG 2.0 flowed text allows for shape-padding and shape-subtract attributes. shape-padding lets the text flow into a shape and leave some space between its edges and w where the text will start to flow. shape-subtract subtracts shapes with margin, so text can flow around other objects in the scene. These attributes were supported in Inkscape 1.0, but not exposed to the user. This version of Inkscape includes both an adjustable on-canvas knot for changing the padding as well as a Text menu item for setting text subtraction properties with a further knot to adjust it's margins.
Text flowing around a shape and then text padding being adjusted

Gradient Tool

To allow you to keep gradients, even when the last object that was using it has been deleted, we added a setting for automatically removing unused gradients at Preferences → Gradient Tool → Auto delete gradients that are not used. This is turned on by default, which corresponds to the behavior of the previous Inkscape version, but you can now turn it off (MR #3897).

Path Operations

With Path → Split path, Inkscape now has functionality to separate a path object that consists of multiple subpaths into a set of path objects that 'belong together'. This means that parts of a path that have holes in them are kept as whole objects. The function works by splitting up a path into non-intersecting bits, keeping intersecting bits together.

Example: A path that consists of a word, like 'Inkscape' will be split into 8 parts, one for each letter. With the familiar 'Break apart' function, there would be 12 parts, because of the holes in the letters that would be split off as their own objects, too (MR #3738).

Top: Break path function separates all subpaths into single objects (not new)
Bottom: Splitting a text into letters with the new 'Split path' operation

Dialogs

Close current tab or open any dialog directly from a dialog dock/window

General Dialog Changes

  • A mini-menu (downward pointing arrow symbol) was added into the title bar of every multi-dialog panel (also called 'notebook'). You can use it to close the current tab, to undock it, or to close the whole panel. It also shows a list of available dialogs, sorted by purpose, allowing you to open them with a click ((MR #3728)
  • Open dialogs are now less costly for performance, because they do not update when it's not needed (MR #3369), or when they are hidden (MR #3761)
  • Docking zones now expand and flash slowly when a dialog is dragged close to them. This makes it easier to see where docking is possible (MR #3729)
  • The text labels of docked dialogs are now more responsive to the width of dialog (MR #3627)

About Screen

The 'About Inkscape' dialog uses the winner art from our Inkscape 1.2 About Screen Contest, "New discoveries await..." by Chris Hildenbrand.

Align and Distribute

  • The formerly separate Arrange dialog is now integrated with the Align and Distribute dialog. With its three tabs, more user-friendly names and some small visual tweaks, the dialog now holds everything that is needed for aligning, distributing and arranging objects in your drawing (MR #3382, MR #3667).
  • The icons inside this dialog are now smaller.
All alignment and distribution options in a single dialog

Document Properties

Document Properties
First tab of the Document Properties dialog

The 'Snapping' tab was removed in favor of a global snapping preference, see Snapping section.

The first tab of the Document properties dialog was refactored thoroughly to make it easier to use (MR #3700):

  • It's now labelled 'Display' instead of 'Page'.
  • The long list of different document formats is now available from a dropdown.
  • There is a preview available of the page format and colors.
  • The page area(s) in a document can now have a different color than the underlying 'desk' area.
  • The other options have been rearranged to look tidier.
  • Note: The option to add margins to a document when resizing it is currently unavailable
 

Export

The former Export PNG image dialog was updated to a general Export dialog by 2021 GSOC student Anshudhar Kumar Singh with the mentors Michael Kowalski, Ted Gould and Tavmjong Bah, and finished by Martin Owens (MR #3825).

The new name reflects the increased range of functionality of the dialog.

General Export Dialog Changes

  • the confusing number entry fields for export area coordinates have been hidden from all but the 'Custom' tab
  • the dialog now features a preview that allows you to see what is going to be in the exported file(s). The preview can also be turned off when you do not need one, or in case performance suffers.

Available Export File Formats

  • by default, the dialog allows you to export images to multiple raster and vector formats: – PNG, Optimized PNG, JPEG, WebP, Tiff, SVG, Inkscape SVG, PDF
  • by activating Edit → Preferences → Input/Output → Show all outputs in Export dialog, even more export formats, provided by Inkscape extensions, will become accessible from the dialog. By default, this includes a long list almost as high as your Inkscape window - ranging from 'Compressed Inkscape SVG with media' and .dxf to 'Scribus CMYK pdf' and 'Windows Metafile (.wmf)'.
  • third-party Inkscape Python extensions can be added to extend the dialog's functionality even further

Batch Export

In addition to exporting single images, one at a time, or simple batch export of objects in the selection to separate files, the dialog has gained the ability to:

  • also batch export top level layers and pages
  • to export to multiple image resolutions at once, by setting a different DPI value for each export format/size
  • to export to multiple file formats at once
  • to select objects, pages or top level layers to export (with preview)
  • file names are constructed as <filename>_<object id>_<suffix>.<extension>, where each export file format/size can have its own suffix

This functionality lives in the dialog's new second tab. To add another export file format or size, click on Add export, and a new line with selectable suffix, file format and dpi value settings becomes available. Layer export will include all objects in the layer (i.e. crop to content).

Hint: If you need a background for export that is the same over all layers (e.g. for a presentation or slideshow, or for an animation), you can move that background object into the root of the SVG file, by dragging it out of a layer and placing it below all layers with the Layers/Objects dialog in Objects mode. To have all layers exported at the same size, you'd still need an (invisible) object in each layer with the desired size.

[TODO: Add images / gifs / video link]

Fill and Stroke dialog

Color selector

HSLuv color picker mode with color wheel
  • The more intuitive HSL mode (hue, saturation, lightness) is now the default mode of the color selector.
  • All color selection modes (e.g. HSL, HSV, RGB, CMYK, CMS, HSLuv) have been moved into a drop-down menu, with icons. You can get the old, tabbed look back by disabling the option in Edit → Preferences → Interface: Use compact color selector mode switch (MR #3443).
  • New: HSLuv mode added for color picker. This mode lets you more intuitively select optically similar saturation of different hues (Wikipedia).
  • A color wheel can now be used for HSL, HSV and HSLuv color selection modes (in previous Inkscape versions, it was its own mode). Activate it by clicking on 'Color Wheel' above the color sliders area.

Gradient Editor is back

A replacement for the gradient editor was added to the 'Fill and Stroke' dialog (MR #2688, Bug UX#67).

This allows you to add, edit and delete gradient stops directly in the 'Fill and Stroke' dialog again:

  • to add a new stop, double click on the gradient preview
  • to move a stop, click and drag it along the gradient preview or enter the stop offset value numerically for more precision after selecting one stop
  • to remove a stop, click on it to select it, then press the Del or Backspace key
  • The Gradient tool's options `repeat mode`, `reverse gradient direction`, a gradient selection library and a list of all stops have been added here, too, so all the options pertaining to gradients are in easy reach.
  • Changing gradient stop color, moving it, adding a new stop
  • Inverting the gradient's direction and changing its repeat mode
  • Another way to add, edit and delete single stops is to use the list of gradient stops. Users can add stops by clicking on the + button, and can delete them by clicking on the - button.
  • With the new gradient selection dropdown, users can duplicate gradients by clicking on the + button.
  • Users can offset (move) the first and last stops of a gradient. The color beyond the last/first gradient stop is uniformly that of the last/first stop.

[TODO: would be cool if all recordings could be resized to same height. This looks very confusing.]

Markers

The markers drop down list has been replaced by a little dialog that displays all available markers in a grid, and even allows you to edit the selected marker's size, distance from the line and orientation! This project was undertaken by GSOC student Rachana Podaralla with the mentors Michael Kowalski, Marc Jeanmougin and Martin Owens (MR #3394, MR #3420).

When clicking on the drop down for choosing the start, middle or end markers, you will see the following:

  • a list of markers used in the current document at the top
  • below that, a list of all default markers, which also contains some fun new markers!
  • at the bottom, the 'Edit' section, with:
    • A preview of how the marker will look
    • some number fields to change the size of the marker (keep the lock on to scale proportionally)
    • an option to scale the markers when the stroke width is changed
    • options for switching the marker direction
    • the option to change the marker's angle and to have that angle fixed
    • marker offsetting options
    • a button to enable editing of markers (rotate, scale, move) on the canvas


Adding and editing markers with the new dialog
Editing markers directly on the canvas

[TODO: record new animation where rotation is also presented]

Custom Dash patterns

Inkscape comes with a big choice of dash patterns by default - from tightly spaced dots to widely spaced lines, and many options and combinations in between. Now it includes an option to make your own dash pattern, in addition to the stock patterns.

To create one:

  • Select Custom in the dash pattern drop-down menu. This will make a new text field show up where you can add your new custom dash pattern.
  • The field accepts numbers and spaces. Each number corresponds to the length of a dash or a gap. It always starts with a dash, and when it reaches the end, it will continue with the first number again, for the next gap or dash. So if you enter an even number of numbers, e.g. '1 1 4.5 4.5' the pattern will be 'dot - short gap - dash - long gap' and then repeat again, and for an uneven number of numbers, the pattern will be inverted when the first 'set' ends.

On the canvas, you can watch how your object changes while you change the custom dash pattern numbers.

Adjusting the dash pattern in a drawing

Other small changes

Line cap and line join order buttons have been reordered, so they match vertically (MR #3402).

New, more logical ordering of line cap and line join buttons
 

Layers and Objects dialog

A new dialog was created that merges the functionality of the familiar 'Layers' and 'Objects' dialogs, with better performance (MR #2466, MR #3635, MR #2466, MR #3741, MR #3597, MR #3645).

It is available from both the 'Layers' and the 'Objects' menu and offers the following functionality:

  • a button to toggle between 'Layers' and 'Objects' view
  • buttons to move objects up and down in the stack.
  • a list of all layers and objects in the drawing, featuring new icons for the different object types
  • 8 alternating default colors for layers and the objects in them:
    • these colors are used for drawing the paths in the respective layers
    • the colors can be set (in case they clash with your theme, or you cannot see the paths that you draw) in the file share/inkscape/ui/highlight-colors.css in your Inkscape directory
  • layer and object colors can be customized for each layer/object on its own, by clicking on the vertical color bar at the end of each line
  • tiny mask and scissor symbols indicate that a clip or mask is applied to an object
  • object and layer names (label, not id) can be changed after a double-click on the current name
  • icons for locking and hiding a layer/object light up when you hover over the layer's row (when not locked or hidden):
    • click to hide/unhide or lock/unlock, Shift+click to hide/lock other items
  • holding Alt while hovering over an object in the dialog will highlight that object on canvas
  • layers as well as objects can be multi-selected
  • the context (right-click) menu for layers provides options to move, delete, rename the current layer, to lock/hide all/other/the current layers, to add a new layer and to convert a layer to a group
  • the context menu for objects provides the same options as it would when you right-click on the object on canvas directly

Note:

  • the (hidden) setting for path colors in the preferences file and the path outline color (available in Node tool preferences section) are no longer respected. If you used those previously, adjust the style.css file as a workaround (see above).
  • the dialog no longer offers the options to change opacity, blur or blend mode. Use the Fill and Stroke dialog as a workaround.
  • the type-forward search to filter for objects is no longer available. For objects, use the Search and Replace dialog as a workaround, for layers there is currently no replacement.
  • the buttons to move objects or layers to the bottom or to the top have been removed to improve the user interface. For both objects and layers, as a workaround you can use the buttons in the selector tool's tool controls. Home and End navigate in the dialog instead of changing positions, if the dialog has focus.

[TODO: needs a picture]

Preferences

Restart Inkscape when you changed an option with this icon
  • The preferences zoom ruler now respects your theme's look (MR #3450)
  • An option to make Select same behave like Select all with respect to whether it selects objects only in the current layer or in all layers was added to Edit → Preferences → Behavior → Selecting (MR #2832)
  • Preferences options that require restarting Inkscape to take effect now display an icon next to them
  • A set of options to tweak rendering performance and to test run different render settings has been added to the Rendering section. It becomes visible when you activate Enable developer mode

SVG Font Editor

With lots of user feedback, the Font Editor workflow has been updated with better previews, better performance and a higher degree of organization (MR #3381, MR #3396, MR #3552, MR #3628 3916).

These changes result in a new recommended workflow:

  1. Open the SVG Font Editor dialog
  2. Select a name for your new font, using the + icon in the top right corner of the dialog
  3. Adjust the horizontal advance and the major font metrics to your liking
  4. Click on Setup Canvas to change the document format to the font size and get some guides that help you draw your letters
  5. Switch to the Glyphs tab of the dialog
  6. Click + to add your first letter/glyph/character to the list. You can also click the button repeatedly to automatically create a list of commonly used font characters, from Space to common special characters, numbers and then upper case and lower case letters A to Z, and then even more special characters after that.
  7. If you like to, switch from list preview to grid preview in the bottom right corner.
  8. Select one of the lines / blocks in the glyphs list.
  9. Click on Edit. This will:
    • Create a new layer for the selected glyph (if there isn't one yet) and activate that layer.
    • Hide all other layers
  10. Now draw your letter/number/… in the new layer
  11. Make sure it's a single path (e.g. do Path > Union)
  12. Keep it selected, and click on Get curves.
  13. Continue selecting glyphs from the list, adding / editing them and turning them into SVG font characters until your font is complete.
  14. In the last tab, Kerning, you can select two different glyphs from the two dropdown lists, to adjust the default distance between them.
    1. After you've selected them, click on Add pair.
    2. Now adjust the distance between them. In addition to the preview that shows just these two glyphs, you can also make use of the sample text to see how it will look in a sentence.
    3. Continue adjusting letter distances until you're happy with the result.
  15. Save your file as Inkscape SVG, and open it with another program (e.g. FontForge) to be able to convert that SVG font into a ttf or otf font.

The workflow is based upon the following SVG Font Editor dialog improvements:

  • speed improvements: Inkscape can now handle fonts with thousands of glyphs!
  • automatic glyph generation: adding a new glyph creates a new entry and populates its unicode string, based upon the previously defined glyph (next in unicode order)
  • glyph management: glyph editing action creates glyph-specific layers to keep glyphs organized
  • grid glyph view: offers a larger preview than a list

[TODO: needs screenshot]

Swatches

The Swatches dialog (View → Swatches) uses the same improved settings as the color palette (without the 'rows' setting).

Updated Swatches dialog settings

Text and Font dialog

The dialog's width has been reduced, so it won't take up excessive amounts of space when docked (MR #3314).

Trace Bitmap

The Trace Bitmap dialog received a new, shiny interface (MR #3405):

  • The tabs list and options have been detangled a bit, so you now have the following three tabs: Single scan, Multicolor, Pixel art
  • The preview auto-updates more reliably and shows a better preview image.
  • The preview location now adjusts to the dialog's format: if it is wider than tall, it moves to the right side, and if it is taller than wide, the preview appears at the bottom of the dialog.
  • The number entry fields are now accompanied by draggable sliders for easier tweaking of values.
Draggable sliders
Self-adjusting preview location

Transform dialog

The buttons for applying or resetting the transformation have been moved to the center, the dialog's width has been reduced, and a small visual explanation for matrix transformations has been added (MR #3363).

Welcome dialog

  • The images have been updated with images from the About Screen Contest for Inkscape 1.2.
  • There is a 'Close' button now in the top right corner of the dialog.
  • An option to 'Browse for other files' has been added to the dialog, so you can finally open any file (not just templates and recent files) from the dialog.

Filters

[TODO: Any changes here?]

Live path effects

Select path with LPE that is responsible for the existence of this object

Select Path Effect Parent Object

If you have an object selected that was created by the Live Path Effect of another object, you can now quickly find the responsible LPE object by clicking on the new button at the bottom of the 'Path Effects' dialog. This is very useful for all Live Path effects that create dependent objects which can be selected independently, like the new Copies LPE, the Boolean Operations LPE, the Rotate Copies LPE and many more (MR #3479).

Tiling

The new Tiling LPE

Internally, we call this the \'Tiled Clones dialog on steroids\'. This new LPE allows for interactive tiling, using a huge range of different tiling types, setting the distance between objects numerically, changing scale, location, rotation per row / column or adding more rows and columns on the fly. This can be used to quickly copy large numbers of objects non-destructively and to create interesting grids and patterns and variations quickly (MR #3814).

Features:

  • Create identical copies of objects in a grid by indicating the number of rows and columns
  • Change the horizontal and vertical spacing between copies by mouse or numerically, and choose the unit of those distances
  • The gap size can also be randomized
  • Offset every other row or column by a specified percentage of object width / height
  • 16 different mirroring modes (requires the setting Edit → Preferences → Behavior → Live Path Effects (LPE) → Tiling → Add advanced tiling options to be active!)
  • Scale interpolation (5 modes):
    • Uniform scaling (no interpolation)
    • Blend size from top to bottom
    • Blend size from left to right
    • Blend size diagonally (top left: original size – bottom right: new size)
    • Random scaling
  • Rotation interpolation with the same 5 modes
  • Option to automatically minimize gaps between copies of different sizes (does not work with rotation or diagonal mode)
  • Option to allow for independently styling and moving each copy ('Split elements', moving works when the object is grouped as a 1 object group)
  • Option to link styles for the case when you want a gradient or a pattern extend over all objects

Rotate copies

  • New option to link styles for the case when you want a gradient or a pattern extend over all objects

Offset

  • Improved performance while editing an offset by mouse

Import / Export

Import Formats

Export Formats

  • The file format of the Synfig Export has been updated to > 1.4.0 (MR extensions#299).

Customization / Theming

Customizing the User Interface

  • The overall font size of the user interface can be adjusted at Edit → Preferences → Interface → Theming: Font scale (MR #3690)
  • The +/- buttons for number entry fields are now smaller. If you prefer the old, wider buttons, they can be turned on again by disabling Preferences → Interface : Use narrow number entry boxes. (MR #3358)
  • Tool bar icon sizes can now be scaled on a continuous scale from 100% to 300% size in Edit → Preferences → Interface → Toolbars: Toolbox icon size / Control bar icon size. Changing the size no longer requires a restart.

Cursors

  • The drop shadow is now optional for mouse cursors. You can turn it off in Edit → Preferences → Interface → Mouse cursors: Show drop shadow (MR #3352).

Icon Sets

  • Multiple icons in the Multicolor icons set were tweaked to improve readability or contrast, e.g. the green color is now a little brighter when using a dark theme.
  • Cursors and tool bar icons for the Bézier tool and the Calligraphy tool in the Multicolor icon theme now use the same imagery.

Themes

  • A contrast slider was added for fine tuning the selected theme's colors at Edit → Preferences → Interface → Theming: Contrast (MR #906)

macOS-specific Changes

  • The minimum operating system version supported is now macOS 10.13. (The prior version, Inkscape 1.1.x, supported macOS 10.11 and newer.)
  • All special menu items in the application menu have been enabled and hidden from other menus, so Inkscape feels more integrated with macOS (MR #3767)
  • [TODO: more changes? arm64? performance?]

Windows-specific Changes

  • Modifier keys now work with graphics tablet stylus input (Commit #46c12b)

Extensions

Complete as of 2022/03/19.

TODO: If the renaming of extensions for 1.2 goes through, change the names in the text below.

Features

General Extension Changes

  • Extensions now better support documents with CSS styles and inherited styles.

New Extensions

  • The Clipart Importer extension allows to search and download SVG resources from the Wikimedia, OpenClipart & other online sources. It is available from File → Import Web Image (MR extensions#441).
  • The Document → Process Illustrator SVG... extension assists with importing Adobe Illustrator documents with layers and the correct scale (MR extensions#351, MR extensions#414).

[TODO: Clipart importer needs image, is greyed out for some reason?]

Particular extensions

The modes of the Extrude extension. A new mode, "Snug", has been added for Inkscape 1.2.
  • In the Add nodes extension, you can now choose the unit of the segment length (MR extensions#346, Issue extensions#127).
  • The Color tab of the Calendar now uses a color chooser widget instead of asking for Hex values (MR extensions#355, Issue extensions#396).
  • The Extrude extension has been rewritten (MR extensions#386). It includes a new mode, "Snug", where the boundary of the extruded rectangle follows the source paths. 'Extrude' now handles paths with multiple subpaths and doesn't require conversion of rectangles or circles to path anymore (Issue extensions#190). The extruded shapes are inserted in between the two selected elements in stacking order, which is more useful than the previous behavior (inserting after the first selected element).
  • The Formula (pdflatex) equation has been made more user-friendly. It now features a font size selector, a field to specify preamble contents, better support for scaled documents and better error messages on compile errors (MR extensions#453).
  • The Frame extension has been rewritten and now supports additional options, such as elliptical frames, offset frame and putting the fill below the object (MR extensions#430, Issue extensions#214).
  • The Motion extension now has an option to take the extrusion color and opacity from the selected path (MR extensions#317).
  • Document Info (MR extensions#401) and Guides creator (MR extensions#424) extensions were adjusted to work with multi-page documents
  • The Guides Creator extension, now also features an option that avoids creating duplicate guides, and an option for alternating margins for even and odd pages (MR extensions#424) .
  • The Split text extension has been rewritten and now supports manual kerning (Issue extensions#142) and SVG2 flowed text (Issue extensions#257) (MR extensions#326).
  • QRCodes with a maximum size of 177x177 can now be created, which allows to encode up to about 2 standard pages of text. Instead of the well-known black rectangular tiles, the extension can now also tile clones of a selected object (MR extensions#394, Issue extensions#150).

Bugs fixed

All extensions

Particular extensions

Extension Development

API Changes for Third-Party Extension Developers

Main Article: Updating your Extension for 1.2

A lot of additional features have been added to inkex, including a new Style API, a new Units API, support for multipage documents and more. Although there are no breaking changes in this release, some methods have been deprecated.

  • The improved CSS style and style inheritance handling is enabled for all bundled extensions. If you want to use this functionality in an extension you maintain, see New Style API.
  • A GUI API (based on gtkme) has been added, so extensions can now ship GTK-based user interfaces (MR extensions#421, MR extensions#450, MR extensions#465).
  • Export extensions can specify that they are only to be listed in "Export as" (MR extensions#371, MR#3600).
  • Color extensions can now process in RGBA space, previously only separate processing of color and opacity was possible (MR extensions#392).
  • The path conversion for arcs and stars have been added, so when extensions create these objects, they are rendered in a browser as well and can be processed further by the same extension. (MR extensions#387, Issue extensions#240).
  • API functions for the new multipage feature have been added (MR extensions#499).

Extension Development Documentation

Behind the curtains

Command line

  • 'verbs' have been removed. All verbs are available as 'actions' now (see below for more context) (MR #3884, MR #3880, MR #3874).
  • A new action for scaling by a factor has been added, it replaces the previous one, which is now called 'grow' (MR #3880).

Behind the curtains

  • Gio::Actions: The old 'verbs' were converted to 'actions'. This work was done to prepare for migrating to Gtk4. It also makes it possible to reach them all from the commands palette, to assign keyboard shortcuts them and to use them on the command line. A big part of this work was done by Google Summer of Code student SUSHANT A.A. with the mentors Alexander Valavanis, Ted Gould and Tavmjong Bah.
  • Support for x, y, width and height SVG2 attributes on <symbol> has been added. It follows the logic of the <svg> element, which already supported these attributes (MR #3828)

Notable bugfixes

Crash fixes

  • Check knot still exists before updating (MR #717)
  • Masive collection of crash fixes related to number of LPE (copy, stampe, duplicate) (MR #3479)
  • Action after grouping 3D boxes crash Fix (MR #3698)
  • Fix for crashing of inkscape while Quitting (MR #3681)
  • Fix crash due to invalid or malformed direct-action string (MR #3663)
  • Bezier curve tool Backspace crash (MR #3715)
  • Fix crash scrolling across line height units (MR #3541)
  • Fix adding a path effect to symbol causes crash (MR #3520)
  • Fix drag-and-drop svgs, stops crash (MR #3710)
  • Handle two items in spray tool's single path mode (MR #3470)
  • Icon preview crash (MR #3439)
  • Prevents crashing during 3D box import (MR #3592)
  • Fill between Paths LPE crash on selecting (MR #3801)
  • Fix a crash in the Document Properties dialog (MR #3400)

Other bug fixes

  • The Calligraphy tool no longer inverts the tilt direction (MR #3782, Bug #1692)
  • Document properties dialog and menu agree about whether guides are visible and/or locked now (Bug #663, MR #4346)
  • Dialogs that have just been opened receive focus again, so they can be used with a keyboard, too (Bug #3482, MR #4381)
  • The Zoom buttons are back in the Commands bar: Zoom to fit selection in window, Zoom to fit drawing in window, Zoom to fit page in window and Center page in window (Bug #1910, MR #3638)
  • Inkscape no longer slows down when using grids and having the Document Properties dialog open on macOS
  • Transform handle modifiers are now displayed on status bar (MR #3809)
  • Perspective/envelope LPE now works on objects with 0 width or height . (edge cases for single line stroke) (MR #2712)
  • Guide handles are always correctly centered on the guide line. This change also fixes a similar positioning error that affected node handles (Bug #2022, Bug #2604, MR #3870).
  • The Align and Distribute dialog no longer starts out with node alignment options, this is strictly limited to when the Node tool is in use.
  • Units in the Document Properties dialog now adjust properly when scaling the document (MR #3403)
  • Editing fonts with the Font Editor dialog now also works for SVG fonts without a label (as created by FontForge)
  • Saving to .odg format works again (Bug #3385, MR #4316)
  • Multiple memory leak fixes and reductions (MR #3508, MR #3058, Commit 51f3bb4, Commit 74bfe1)
  • Lots of spelling, phrasing and translatability fixes

[TODO: rephrase those below:]


  • duplicated gradeint does not get deleted (MR #3361)
  • Last line in paragraph is not justified anymore (MR #3780)
  • Fix #1034 - Recursively flatten css style when copying (MR #3656)
  • new boolean operation algorithm (MR #3724)
  • Respect mouse down before mouse move coordinates (WIN) (MR #3735)
  • Remove mandatory break from end of paragraphs, added in Pango 1.49 (MR #3630)
  • Fix: Subsequent font changes to words in the same textbox now apply (MR #3631)
  • Fix numpad input for unimode in text tool (MR #3689)
  • Restore refresh of units trackers (MR #3665)
  • Fix find and replace if text has description, nested tspans (MR #3551)
  • all canvas knots should have same size and be controlled form preferences (MR #3679, MR #3699)
  • Fix multiline vertical text positioning in browsers (MR #3537)
  • Stop changing line height when units change (MR #3544)
  • Fix Clone Tiler menu item, action mismatch (MR #3650)
  • fix: Cannot quit Inkscape on macOS Big Sur from welcome screen (MAC) (MR #2762)
  • Fix: Position of flowed text no longer applies extra transforms on text (MR #3695)
  • Fix default value for saturate in color matrix filter (MR #3626)
  • nodes widget no longer appears on startup in align and distribute dialog (MR #3677)
  • fixes #2621. Clicking on fill/stroke in the status bar now reopens the dialog if it is hidden (MR #3754)
  • Fix KP_2,4,6,8 shortcuts for rect tool (MR #3773)

Even more bug fixes

There were even more issues fixed than those listed above, but these probably only affect a small portion of users, or are relevant for development and packaging only.

For a complete list, visit our GitLab issue tracker and see the commit history.


Translations

The following UI translations received updates (as of May 6 2022):

  • Brazilian Portuguese
  • Catalan
  • Czech
  • Dutch
  • Farsi
  • French
  • German
  • Hebrew
  • Hungarian
  • Icelandic
  • Irish
  • Italian
  • Japanese
  • Korean
  • Polish
  • Portuguese
  • Russian
  • Simplified Chinese
  • Slovenian
  • Spanish
  • Traditional Chinese
  • Turkish
  • Ukrainian


The following documentation translations received updates:

  • Simplified Chinese


Contributing to interface translations

Want to help with translations? Learn how to help!

Documentation


Contributing to documentation and documentation translation

Contributions to the documentation translations, as well as improvements to its contents, are welcome at the inkscape-docs repository.

Website

The inkscape.org website was updated from Django 1.1 to Django 2.x by Google Summer of Code student Ishaan Arora with the mentors Thomas Holder and Martin Owens. This was in preparation for the goal of updating Django to 3.x, which Ishaan Arora is currently working on.

Important changes for packagers

  • Dithering for gradients (see Dithering section) is available with a build flag (-DWITH_INTERNAL_CAIRO=ON), which causes Cairo to be patched for dithering during the build process. Please find more information in MR #3812.
  • New dependency on python-cssselect added which is required for usage of Inkscape extensions (MR #3239)
  • Added Python appdirs dependency (MR #3568)
  • As Python distutils are now deprecated, they have been replaced by python3-packaging (MR extensions#368)
  • The extension that imports images from the internet requires the Python cachecontrol module
  • gcodetools (gcodetools), extension manager (inkman) and clipart importer (clipart) are now all submodules of the extensions submodule. Make sure to update submodules recursively with --recurse-submodules when updating your git branches!

Known issues [as of 2022-04-20]

  • Gradient editing:
    • If you convert your gradient to swatch, the gradient editor cannot be used for editing it anymore.
    • Canvas stops and gradient editor stops highlighting will stop working in some cases.
  • If you want to print a specific range of pages / a specific page, you can select page numbers in the print dialog. However, this only prints the first page currently.
  • The option to specify a margin when resizing the page to the selection is currently not available (formerly available in Document Properties dialog, in the future planned for the Page tool).
  • Spellchecking is not available on macOS

Other releases