Re: QET-Element to SVG
Hallo plc-user, thank you.
You are not logged in. Please login or register.
QElectroTech → Scripts → QET-Element to SVG
Hallo plc-user, thank you.
Salut Laurent !
I implemented the idea of replacing fonts a little differently than in your suggestion.
This way, it fits in better with the existing style...
Now there are two additional options:
“--FixFonts” replaces the fonts in the element file as closely as possible with those available in QET. This is done in addition to the existing element changes regarding scaling, decimal limitations, etc.
“--OnlyFixFonts” looks ONLY at the texts in the specified file. Here, the existing fonts are replaced as closely as possible with the fonts available in QET. All other graphical primitives remain unaffected! If fonts are replaced, a new UUID is assigned to the entire element. If no fonts are replaced, nothing is output to stdout and no new file is created. This ensures that elements already using the “correct” fonts remain unchanged.
In both cases, the output is written (as usual) to stdout or to a file with “SCALED” inserted to the filename.
For example, if you want to use a script to check and adjust only the fonts in an entire collection, it makes sense to also use the “--OverwriteOriginal” option.
To add items to the official collection, it’s a good idea to use the “--FixFonts” option, because this ensures that all data of an element file is checked!
See here: https://github.com/plc-user/QET_Element … 0.5.7beta1
Currently, this version is labeled as “beta.” Please let me know if your tests were successful, and I’ll remove the “beta” label.
Best regards
plc-user
QElectroTech → Scripts → QET-Element to SVG
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.041 seconds (29% PHP - 71% DB) with 12 queries