Re: QET-Element to SVG

Hallo plc-user, thank you.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !

Re: QET-Element to SVG

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

Fragen zu QET gehören in dieses Forum und werden nicht per PM beantwortet! – Questions regarding QET belong in this forum and will NOT be answered via PM! – Les questions concernant QET doivent être posées sur ce forum et ne seront pas traitées par MP !