Templates per GOST Standard

Discussions about the development of the TechDraw workbench
wandererfan
Posts: 2695
Joined: Tue Nov 06, 2012 5:42 pm

Templates per GOST Standard

Postby wandererfan » Mon Jun 10, 2019 1:08 pm

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.
wandererfan
Posts: 2695
Joined: Tue Nov 06, 2012 5:42 pm

Re: Templates per GOST Standard

Postby wandererfan » Mon Jun 10, 2019 8:49 pm

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 255 times
abrosimov-a-a
Posts: 10
Joined: Tue Jun 11, 2019 10:34 am

Re: Templates per GOST Standard

Postby abrosimov-a-a » Tue Jun 11, 2019 10:58 am

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: 15
Joined: Sun Jan 07, 2018 2:15 am

Re: Templates per GOST Standard

Postby tpavlicek » Tue Jun 11, 2019 11:13 am

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
wandererfan
Posts: 2695
Joined: Tue Nov 06, 2012 5:42 pm

Re: Templates per GOST Standard

Postby wandererfan » Tue Jun 11, 2019 11:52 am

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 192 times
User avatar
PrzemoF
Posts: 2533
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: Templates per GOST Standard

Postby PrzemoF » Tue Jun 11, 2019 12:09 pm

Mod: post titles edited to help future searches.
wandererfan
Posts: 2695
Joined: Tue Nov 06, 2012 5:42 pm

Re: Templates per GOST Standard

Postby wandererfan » Tue Jun 11, 2019 12:27 pm

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