Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can FF Internal scripting have access to system level Read/Write #5420

Closed
waykyi opened this issue May 15, 2024 · 3 comments
Closed

Can FF Internal scripting have access to system level Read/Write #5420

waykyi opened this issue May 15, 2024 · 3 comments

Comments

@waykyi
Copy link

waykyi commented May 15, 2024

I am trying to access svg files saved in my Windows system. The thing I am trying to do is to see if any svg files exist in the given path, if it is, then using a loop, I want to import them into assigned glyph spots until all svg files are imported. I could not find that ability in FF internal scripting or am I overlooked? Thanks for any help and direction.

@ChiefMikeK
Copy link

ChiefMikeK commented Jun 1, 2024

It is best to use a shell(external) script or cmd line input to search for and pass the .../path/to/*.svg file(s) on to fontForge -new
And as I DONT USE WINDOWS :neckbeard: it's better to search/ask on reddit, chatGPT or ?
Also Which Windows?

@waykyi
Copy link
Author

waykyi commented Jun 3, 2024

I use Windows 11 and I can solve it by hard-coded the path in the script and svg names in the array. Thanks

@waykyi waykyi closed this as completed Jun 3, 2024
@waykyi
Copy link
Author

waykyi commented Jun 3, 2024

Thanks

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

No branches or pull requests

2 participants