You are here

[BUG] Inkscape Portable PortableApps.com Font handling

7 posts / 0 new
Last post
Gord Caswell
Gord Caswell's picture
Offline
Last seen: 19 hours 36 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
[BUG] Inkscape Portable PortableApps.com Font handling

Inkscape Portable currently does not recognize font handling as provided by the PortableApps.com Platform.

This will be fixed in the next release.

In the meantime, do the following to handle it:

Save a copy of X:\PortableApps\InkscapePortable\App\Inkscape\etc\fonts\conf.d\51-local.conf as X:\PortableApps\InkscapePortable\Data\01-portableapps.conf. Following this, add the line X:\PortableApps\PortableApps.com\Data\Fonts immediately after <fontconfig>, with X being replaced with your drive letter.

Following this, add the following to X:\PortableApps\InkscapePortable\App\AppInfo\Launcher\InkscapePortable.ini:

In the [FilesMove] section, add
01-local.conf=%PAL:AppDir%\App\Inkscape\etc\fonts\conf.d
and add the following at the end of the file:

[FileWrite8]
Type=Replace
File=%PAL:DataDir%\01-portableapps.conf
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir%\
Replace=%PAL:Drive%%PAL:PackagePartialDir%\

[FileWrite9]
Type=Replace
File=%PAL:DataDir%\01-portableapps.conf
Find=%PAL:LastPortableAppsBaseDir%\
Replace=%PAL:PortableAppsBaseDir%\

[FileWrite10]
Type=Replace
File=%PAL:DataDir%\01-portableapps.conf
Find=%PAL:LastDrive%\
Replace=%PAL:Drive%\
SidCharming
Offline
Last seen: 3 months 2 weeks ago
Joined: 2017-08-24 19:22
Question...

I am not following your last portion of "Save a copy of " where you state "Immediately after (space), With X being replaced..." Not sure where that *is* directing me to add the line.

Here is the content of my 51-local.conf file

<?xml version="1.0"??>local.conf

Thanks for your help! Much appreciated and also thank you for your time!
Rob

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 19 hours 36 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
Didn't display

I apologize, evidently that line didn't display properly. I've now fixed it.

SidCharming
Offline
Last seen: 3 months 2 weeks ago
Joined: 2017-08-24 19:22
Update (Working)

I ended up editing my 51-local.conf file as it sits without copying it to another location. I altered it this way... I added my local directory below the local.confC:\Users\user\Documents\PortableApps\PortableApps.com\Data\Fonts

And this worked for me... I tried the copy the conf file and updating with my c:\drive info... it didn't work for me (Windows 10). Unless there is a major reason this shouldn't be working, I'll keep this as the new fonts are showing up and functional in InkScape.

THANKS for the detailed help Gord!!
Rob

SidCharming
Offline
Last seen: 3 months 2 weeks ago
Joined: 2017-08-24 19:22
Something change?

I had this working and now it isn't working. Has Portable Apps changed or Inkscape? ** honestly I think one of these apps went through an update which I didn't think it would effect the font function**

Gord Caswell
Gord Caswell's picture
Offline
Last seen: 19 hours 36 min ago
DeveloperModerator
Joined: 2008-07-24 18:46
Not yet supported

This is not yet supported in Inkscape Portable. It will be supported upon the release of 0.92.3.

Until then, you'll need to follow the instructions above. Note that the edits you made originally would not have been saved, as this isn't supported yet, so the 0.92.2 release did not know about them.

SidCharming
Offline
Last seen: 3 months 2 weeks ago
Joined: 2017-08-24 19:22
Thanks Gord for the response

Thanks Gord for the response and update! Smile

Log in or register to post comments