Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[[ FontAwesome ]] Implement iconsvg library updater#5562

Open
montegoulding wants to merge 1 commit intolivecode:developfrom
montegoulding:iconsvg
Open

[[ FontAwesome ]] Implement iconsvg library updater#5562
montegoulding wants to merge 1 commit intolivecode:developfrom
montegoulding:iconsvg

Conversation

@montegoulding
Copy link
Copy Markdown
Member

This patch adds an updater script to the iconsvg library which imports
glyphs from the FontAwesome svg file directly.

There is a problem with this in that the glyphs are flipped so leaving as WIP for now.
screen shot 2017-06-06 at 10 28 17 am

@mention-bot
Copy link
Copy Markdown

@montegoulding, thanks for your PR! By analyzing the history of the files in this pull request, we identified @livecodefraser to be a potential reviewer.

@montegoulding
Copy link
Copy Markdown
Member Author

https://stackoverflow.com/questions/18113478/extracting-svg-from-font-awesome

So I need to write a little LCB library to transform the path instructions during the import.

@runrevmark
Copy link
Copy Markdown
Contributor

Alternatively have each path in the library have an isflipped attribute, and apply the transform in onpaint? Or, if this is the standard for svg fonts, maybe change the orientation used in the icon svg library?

@montegoulding
Copy link
Copy Markdown
Member Author

It could probably be a font family property if we were to do that but such a change would mean changing all the widgets using this library.

This patch adds an updater script to the iconsvg library which imports
glyphs from the FontAwesome svg file directly.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants