Go Back   AC3D Forums > General > AC3D Suggestions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 19th May 2021, 12:44 PM   #1
DaveS
Member
Expert member
 
Join Date: Jul 2009
Posts: 52
Default AC3D support for OTF formatted fonts?

Hey.

Could support for OTF formatted fonts be implemented in a future version of AC3D? Right now, it looks like it only supports TTF fonts.
DaveS is offline   Reply With Quote
Old 21st May 2021, 04:08 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default Re: AC3D support for OTF formatted fonts?

Replace the file in the tcl folder with this one and you'll be able to load otf files too.

AC3D uses Freetype so it already supports otf files, it just needed adding to the code.


I'll build this into the next release - cheers!
Attached Files
File Type: tcl ac3dttfont.tcl (8.6 KB, 62 views)
Andy is offline   Reply With Quote
Old 21st May 2021, 09:57 AM   #3
DaveS
Member
Expert member
 
Join Date: Jul 2009
Posts: 52
Default Re: AC3D support for OTF formatted fonts?

Quote:
Originally Posted by Andy View Post
Replace the file in the tcl folder with this one and you'll be able to load otf files too.

AC3D uses Freetype so it already supports otf files, it just needed adding to the code.


I'll build this into the next release - cheers!
I replaced the original ac3dttfont.tcl file and unfortunately it still won't show any *.otf fonts in the Add TrueType Text dialog, only *.ttf fonts as before.
DaveS is offline   Reply With Quote
Old 21st May 2021, 10:19 AM   #4
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default Re: AC3D support for OTF formatted fonts?

Have you tried changing the folder in the font tool so that it points at a directory containing *.otf files?


I'm not sure why but, after installing otf fonts, you can't see them in the windows fonts folder (i.e. via cmd and a dir command). The font control panel shows oft files installed, and shows the filenames, but it looks like they are hidden automatically.

Last edited by Andy; 21st May 2021 at 10:28 AM.
Andy is offline   Reply With Quote
Old 21st May 2021, 10:53 AM   #5
DaveS
Member
Expert member
 
Join Date: Jul 2009
Posts: 52
Default Re: AC3D support for OTF formatted fonts?

Quote:
Originally Posted by Andy View Post
Have you tried changing the folder in the font tool so that it points at a directory containing *.otf files?


I'm not sure why but, after installing otf fonts, you can't see them in the windows fonts folder (i.e. via cmd and a dir command). The font control panel shows oft files installed, and shows the filenames, but it looks like they are hidden automatically.
Yes. I have attached a screenshot showing that there's three *.otf fonts in the folder but AC3D isn't seeing them. And as you can see, it is outside the C:\Windows\Fonts folder.
Attached Thumbnails
Click image for larger version

Name:	AC3D_no_OTF_fonts.jpg
Views:	65
Size:	222.2 KB
ID:	3809  

DaveS is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 05:06 AM.


AC3D Forum
(C) Inivis Limited 2020