Page 1 of 2

Is possible to make dimension values as Italic font style?

Posted: Sun Sep 19, 2021 3:24 pm
by Evgeniy
In accordance with GOST standards, the dimensions are indicates mainly in italics.
Is possible to make dimension values as Italic font style?

Re: Is possible to make dimension values as Italic font style?

Posted: Sat May 14, 2022 3:08 pm
by 0mer0
In my country, the IRAM 4503 standard based on the ISO 3098 standard also makes it possible to use inclined or italic letters. The default font in FreeCAD is osifont, but I haven't found a way to make it italic with techdraw. Maybe there is a macro or code to be able to do it, but ideally there would be in preferences the option to have the fonts in italics whatever one chooses.

Re: Is possible to make dimension values as Italic font style?

Posted: Sat May 14, 2022 3:37 pm
by wandererfan
Evgeniy wrote: Sun Sep 19, 2021 3:24 pm In accordance with GOST standards, the dimensions are indicates mainly in italics.
Is possible to make dimension values as Italic font style?
Not possible in current versions. Would this setting apply to all dimensions, or does it need to be adjustable for individual dimensions? A bit less work if it applies to all dimensions,

Re: Is possible to make dimension values as Italic font style?

Posted: Sat May 14, 2022 3:55 pm
by 0mer0
In my case, yes, it would be applied to all the dimensions of the page that is being worked on. That's why I think it should be in the TechDraw preferences. Even better if the labels of the templates also came with said type of italic font.

Re: Is possible to make dimension values as Italic font style?

Posted: Sat May 14, 2022 5:41 pm
by Workshop_Notes
wandererfan wrote: Sat May 14, 2022 3:37 pm ...Would this setting apply to all dimensions, or does it need to be adjustable for individual dimensions?
I think it should be possible with individual characters within a dimension. See Fig. 29 of ISO129-1:2018 as an example.

We have to be careful about mixing standards: ISO 3098 is for lettering on technical documents in general. ISO 129 is more narrowly focussed on dimensions.

Re: Is possible to make dimension values as Italic font style?

Posted: Tue Aug 16, 2022 1:01 pm
by Evgeniy
wandererfan wrote: Sat May 14, 2022 3:37 pm
Evgeniy wrote: Sun Sep 19, 2021 3:24 pm In accordance with GOST standards, the dimensions are indicates mainly in italics.
Is possible to make dimension values as Italic font style?
Not possible in current versions. Would this setting apply to all dimensions, or does it need to be adjustable for individual dimensions? A bit less work if it applies to all dimensions,
Preferably for each label separately and so that you can customize the default style in the settings.

Re: Is possible to make dimension values as Italic font style?

Posted: Fri Oct 07, 2022 4:34 pm
by 0mer0
Opening the file A4_Portrait_ISO7200TD.svg in Inkscape shows that the text is in osifont italic.

template_inkscape.png
template_inkscape.png (56.06 KiB) Viewed 1487 times

Why does it look Normal in FreeCAD?

temlate_freecad.png
temlate_freecad.png (135.68 KiB) Viewed 1487 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.30492 (Git)
Build type: Release
Branch: master
Hash: b4578fb3eae842eb510a1bc055d07d369a67ce94
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Spanish/Argentina (es_AR)
Installed mods: 
  * A2plus 0.4.59c
  * Curves 0.5.8
  * DynamicData 2.46.0
  * fasteners 0.4.12
  * sheetmetal 0.2.57

Re: Is possible to make dimension values as Italic font style?

Posted: Fri Oct 07, 2022 10:17 pm
by Roy_043
For a correct display in Inkscape you need to install the osifont. Have you done that?

Re: Is possible to make dimension values as Italic font style?

Posted: Fri Oct 07, 2022 10:48 pm
by 0mer0
Roy_043 wrote: Fri Oct 07, 2022 10:17 pm


Yes, but the problem is not how it is represented in Inkscape (I couldn't have uploaded the image) but how in FreeCAD that same type of font looks Normal.

Re: Is possible to make dimension values as Italic font style?

Posted: Sat Oct 08, 2022 12:04 am
by wandererfan
0mer0 wrote: Fri Oct 07, 2022 4:34 pm Opening the file A4_Portrait_ISO7200TD.svg in Inkscape shows that the text is in osifont italic.
Is this a custom template? If it is, please post it and I will have a look.

My copy of A4_Portrait_ISO7200TD.svg does not use osifont.