[Solved] Bug in ShapeString font preference ?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
vk3ohm
Posts: 35
Joined: Sun Mar 08, 2020 10:42 am
Location: Melbourne, Australia

[Solved] Bug in ShapeString font preference ?

Post by vk3ohm »

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/Australia (en_AU)

I am creating ShapeStrings, but every time I do I have to specify the font file. This operation works fine.

It occurred to me I should be able to set a default font folder/file, and you can - Preferences | Draft | Texts and dimensions | Default Shapefile font file, but every time I specify the font folder/file I get "Fonts You don't have permission to open this file". It's OK when I'm creating a ShapeString, so why not when I'm setting the preference?
Last edited by vk3ohm on Wed Sep 29, 2021 2:59 pm, edited 1 time in total.
User avatar
Roy_043
Veteran
Posts: 8456
Joined: Thu Dec 27, 2018 12:28 pm

Re: Bug in ShapeString font preference ?

Post by Roy_043 »

I have added a paragraph to the Wiki that describes the current situation and workarounds: Draft_ShapeString#Font_file_selection_on_Windows
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Bug in ShapeString font preference ?

Post by GeneFC »

Another workaround is to create a separate folder to contain copies of fonts that are used frequently. I don't use shapestrings, but I need font access in some other programs.

The new folder does not have the special permission magic that restricts use.

Gene
User avatar
Roy_043
Veteran
Posts: 8456
Joined: Thu Dec 27, 2018 12:28 pm

Re: [Solved] Bug in ShapeString font preference ?

Post by Roy_043 »

GeneFC wrote: Wed Sep 29, 2021 2:07 pm Another workaround is to create a separate folder
I remembered you suggesting that in a previous discussion. So that workaround was also added. :mrgreen:
Post Reply