Templates per GOST Standard

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Templates per GOST Standard

Post by wandererfan »

Thanks to @Abrosimov-a-a, TechDraw now includes page templates conforming to the Russian GOST standard.
See TechDraw: Templates for the Russian standard of tech docs #2249 for details.

Edit: change title to correct acronym.
Last edited by wandererfan on Tue Jun 11, 2019 11:46 am, edited 1 time in total.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Templates per GOST Standard

Post by wandererfan »

tpavlicek wrote: ping!
Do the GOSS templates work for you?

If I make a drawing with template "RU_GOSS/Leading/Landscape_A3.svg", I can not update the editable texts. The value shows on the template, but not in the update dialog. If I type a new value in the update dialog the template is not updated. Non-GOSS templates still work.
Attachments
GOSSEditableText.png
GOSSEditableText.png (51.08 KiB) Viewed 2129 times
abrosimov-a-a
Posts: 15
Joined: Tue Jun 11, 2019 10:34 am

Re: Templates per GOST Standard

Post by abrosimov-a-a »

Hi WandererFan!

Now I have a three questions:
1. This error only appears with Leading/Landscape_A3.svg?
2. How it's look into Inkscape?
3. What is your configuration? (OS type, system encoding, FreeCAD version, Arial font is available)

I have tested this templates on:
Debian Linux Testing/Windows 10 with Russian support, UTF-8 in Linux/cp1251 (RU cyrillic) in Win.
FreeCAD 0.18

At this time It's look like the problem with our system encodings.

And not "GOSS", its "GOST" ГОсударственный СТандарт / GOvernment STandard.
Last edited by abrosimov-a-a on Tue Jun 11, 2019 11:15 am, edited 1 time in total.
tpavlicek
Posts: 60
Joined: Sun Jan 07, 2018 2:15 am

Re: Templates per GOST Standard

Post by tpavlicek »

Hi to all!

@Abrosimov - I guess the issue @WandererFan mentions is present only in the "SVG export refactoring" branch. Everything is OK with the RU templates You have added, no need to worry :-) Thanks for Your contribution!

@WandererFan - I have fixed the problem on the branch, my bad, I have thought Qt converts QString to std::string using UTF 8 by default, but it uses Latin1, so we've got many questions marks instead of cyrillic. Now should be working.

Kind regards,

Tomas
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Templates per GOST Standard

Post by wandererfan »

tpavlicek wrote: Tue Jun 11, 2019 11:13 am
abrosimov-a-a wrote: Tue Jun 11, 2019 10:58 am
Looks good now. Sorry about the noise.
Attachments
GOSTA3Editable.png
GOSTA3Editable.png (43.89 KiB) Viewed 2066 times
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Templates per GOST Standard

Post by PrzemoF »

Mod: post titles edited to help future searches.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Templates per GOST Standard

Post by wandererfan »

PrzemoF wrote: Tue Jun 11, 2019 12:09 pm Mod: post titles edited to help future searches.
Thank you!
Post Reply