Skip to content

Add link to Dockerhub container#11

Open
ning-y wants to merge 1 commit into
BTBurke:masterfrom
ning-y:add-dockerhub
Open

Add link to Dockerhub container#11
ning-y wants to merge 1 commit into
BTBurke:masterfrom
ning-y:add-dockerhub

Conversation

@ning-y

@ning-y ning-y commented Jun 19, 2023

Copy link
Copy Markdown
ning@bluecoral ~/repos/svg-embed-font$ docker run --rm ningyuan/svg-embed-font:0.0.1

Usage:
svg-font-embed input.svg [font1.ttf font2.ttf]

Required Arguments:
input.svg - The SVG file to embed fonts within

Optional Arguments:
font.ttf - Specify one or more font files to embed within the SVG document.  Fonts do not have to be specified unless it is not obvious which file matches the fonts in the SVG file.

If no fonts are specified, the current directory and all subdirectories will be walked to look for a matching font file.  A match is defined as a font file which has the font-family name in its file name.  When multiple font files exists that would match (such as when the font comes in different weights), an error will be thrown unless you specify which font file to use on the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant