tag:blogger.com,1999:blog-9181234420877990226.post7843250304622587005..comments2022-03-31T21:01:34.264-07:00Comments on My scrapping inspiration: Extension to simplify font-creating with InkscapeLNpellenhttp://www.blogger.com/profile/06830823412524513600noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-9181234420877990226.post-19568868887869633282020-03-15T06:03:33.014-07:002020-03-15T06:03:33.014-07:00It's a long time since I coded this so my memo...It's a long time since I coded this so my memory is a bit rusty, but it seems that a least for paths that should be kept closed there is a step in the inkscape extension preping the paths for fontforge. You could try sending me the svg file showing the original text and how the reopen-extension fail to run properly. LNpellen at gmail dot com<br /><br />LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-24730551755433351512020-03-15T06:02:36.625-07:002020-03-15T06:02:36.625-07:00This comment has been removed by the author.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-34300988358787316412020-03-15T04:04:06.307-07:002020-03-15T04:04:06.307-07:00Forgive an entry clarification question, does this...Forgive an entry clarification question, does this have to be done from the beginning? I have a fontforge file with all of my glyphs drawn as single strokes but that seems to not allow the ReopenSingleLineFont extension to run properly. Stuperbadhttps://www.blogger.com/profile/05075846510013636953noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-66644479172162791772020-01-14T06:43:03.628-08:002020-01-14T06:43:03.628-08:00Sorry for letting the blog live alone for so long ...Sorry for letting the blog live alone for so long - not seeing this comment. No - I have no good explanation why this happens.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-4811815429811364382018-01-10T11:03:40.499-08:002018-01-10T11:03:40.499-08:00Hello Ellen!
Thanks a lot for the guide and the sc...Hello Ellen!<br />Thanks a lot for the guide and the script, both were extremely helpful to me. I currently have a Problem with Inkscape for which I have no idea why it could occur: The capital letters of my font are always swapped for the ones of the standard font. In every other program and even in the small preview of the font in Inkscape the letters are shown correctly - do you have an idea why that could be?<br />Best regards, <br />MagnusMagnushttps://www.blogger.com/profile/07054535335652123368noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-55490687941738936642017-10-27T14:09:05.133-07:002017-10-27T14:09:05.133-07:00Hm - this is a quite general error-message. It'...Hm - this is a quite general error-message. It's hard to figure this out without knowing what you are trying to do.... You could try sending the file to LNpellen at gmail.com. I cannot promise a quick fix as I haven't worked with the code for quite a while so my pythonian is a bit rusty.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-60831965545194992042017-10-10T01:20:38.986-07:002017-10-10T01:20:38.986-07:00Hi - I've used this a few times and it's w...Hi - I've used this a few times and it's worked a treat! Perfectly solved a hurdle I was hitting with my pen plotter, so thank you! However I'm getting this error <br /><br />"Traceback (most recent call last):<br /> File "convertToSvgFont.py", line 213, in <br /> e.affect()<br /> File "/Applications/Inkscape.app/Contents/Resources/share/inkscape/extensions/inkex.py", line 283, in affect<br /> self.effect()<br /> File "convertToSvgFont.py", line 181, in effect<br /> fontParent=self.document.xpath('//svg:font',namespaces=inkex.NSS)[0]<br />IndexError: list index out of range"<br /><br />If you could help me figure it out that would be great! Thanks in advance!!!sangowhttps://www.blogger.com/profile/14694598133969060470noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-76542786062474054942016-04-25T11:51:45.258-07:002016-04-25T11:51:45.258-07:00I've tried to specify the save part with save ...I've tried to specify the save part with save svg-file and open the same file. Which window pops and closes? Were you able to define the glyph order in the Convert window?LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-85141284826037725752016-04-24T00:21:46.112-07:002016-04-24T00:21:46.112-07:00I didn't get the "Save document and open ...I didn't get the "Save document and open in fontforge" part. The extension runs a window pops and closes. Then nothing happens.<br /><br />Can you advise what format do I save the prepared file and how do I open in ff.<br /><br />thanks!Anonymoushttps://www.blogger.com/profile/04277083231969228636noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-54122464588204938552016-04-21T12:52:30.239-07:002016-04-21T12:52:30.239-07:00I'm back in font-business and found some issue...I'm back in font-business and found some issues with the downloadable files. Also I realized that I had added the special characters not working very well (as described above) in the default string and confused at least myself. Sorry for that. Updated files are now out.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-28459955181043980152015-02-06T02:36:06.821-08:002015-02-06T02:36:06.821-08:00Now the straight line problem is fixed. Just make ...Now the straight line problem is fixed. Just make sure that paths with straight lines that should be kept closed is closed from start. <br />Make sure to update both the .py and the .inx as there is some extra features.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-72774174166542081722015-02-05T06:46:05.259-08:002015-02-05T06:46:05.259-08:00Updated again: paths that should be kept closed (l...Updated again: paths that should be kept closed (like f.x. o) will no be kept close. There is a problem with paths being all straight lines, though. Have to fix that somehow. Fontforge or Inkscape is too smart simplifying things....LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-8261494010289154102015-01-29T14:17:45.116-08:002015-01-29T14:17:45.116-08:00Updated the .inx and .py today with some bugfixes ...Updated the .inx and .py today with some bugfixes and an extra feature for helping the Left bearing get good from the start especially for fonts with partly overlapping glyphs (like a curly f or j for example).LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-11411030203535557022015-01-24T12:40:03.010-08:002015-01-24T12:40:03.010-08:00Yes, I forgot to remove the debugging code before ...Yes, I forgot to remove the debugging code before publishing the file :) I have updated it now.LNpellenhttps://www.blogger.com/profile/06830823412524513600noreply@blogger.comtag:blogger.com,1999:blog-9181234420877990226.post-52002521038538678732015-01-23T10:01:02.373-08:002015-01-23T10:01:02.373-08:00Hi Ellen.
Very nice guide!
I have one problem run...Hi Ellen.<br /><br />Very nice guide!<br />I have one problem running the extension as the file paths in the code is 'hard-coded". I get the following error message; f = open('C:\Users\ellen\Documents\debugLog.txt','w')<br />IOError: [Errno 2] No such file or directory: 'C:\\Users\\ellen\\Documents\\debugLog.txt'<br />I have no problem editing the code to make it work but other users in your "fan-base" might not have the inclination to do so. Relative file paths in python is relatively (pun intended) easy.<br />RGDS<br />Ragnarragstianhttps://www.blogger.com/profile/07064611726184695901noreply@blogger.com