TTC (TrueType Collection) font files aren't handled correctly #44254

Closed
opened 2015-04-03 22:45:24 +02:00 by marnen@marnen.org · 17 comments

System Information
Mac OS X 10.10

Blender Version
Broken: 2.74

Short description of error
TTC files contain multiple TrueType font styles in one file (regular, bold, italic, etc.), but Blender only seems to have access to one

Exact steps for others to reproduce the error
In any Blender scene:

  1. Create a text object.
  2. Assign it a font from a TTC file. You can use GillSans.ttc as a sample font file; this file contains regular, italic, bold, bold italic, and several other styles (9 total, as verified by the Font Book utility).
  3. Notice that regardless of which of Blender's slots the font is assigned to, and regardless of the settings of the Bold and Italic buttons, Blender only ever renders the font in regular style. There appears to be no way to get to the other styles in the file.
**System Information** Mac OS X 10.10 **Blender Version** Broken: 2.74 **Short description of error** TTC files contain multiple TrueType font styles in one file (regular, bold, italic, etc.), but Blender only seems to have access to one **Exact steps for others to reproduce the error** In any Blender scene: 1. Create a text object. 1. Assign it a font from a TTC file. You can use [GillSans.ttc](https://archive.blender.org/developer/F157917/GillSans.ttc) as a sample font file; this file contains regular, italic, bold, bold italic, and several other styles (9 total, as verified by the Font Book utility). 1. Notice that regardless of which of Blender's slots the font is assigned to, and regardless of the settings of the Bold and Italic buttons, Blender only ever renders the font in regular style. There appears to be no way to get to the other styles in the file.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @marnen

Added subscriber: @marnen

Added subscriber: @ivampretti

Added subscriber: @ivampretti

I need help!

I need help!

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-04-06 05:12:07 +02:00

Blender doesn't support ttc container format.
Support could be added but this is not some mistake or error in Blender's code.

closing.

Blender doesn't support ttc container format. Support could be added but this is not some mistake or error in Blender's code. closing.

It supports it well enough to recognize the file type in the font dialog, and to get one font out of a TTC file. So perhaps the bug is actually that it let me open a TTC file in the first place. If that's so, then I'll file a new bug report for that, as well as a feature request for TTC support. Does that seem reasonable?

It supports it well enough to recognize the file type in the font dialog, and to get one font out of a TTC file. So perhaps the bug is actually that it let me open a TTC file in the first place. If that's so, then I'll file a new bug report for that, as well as a feature request for TTC support. Does that seem reasonable?

@marnen. We don't limit what freetype can open (it has support for a range of formats), but I don't see it as being that useful to explicitly disable TTC either.

@marnen. We don't limit what freetype can open (it has support for a range of formats), but I don't see it as being that useful to explicitly disable TTC either.

Added subscriber: @Nathaniel-6

Added subscriber: @Nathaniel-6

It definitely seems like a bug from a user's point of view if you let me load a ttc file but then fail silently when trying to use it. If the italic font in the ttc can't be used, it should not permit the ttc font to be used in the 'italic' slot? (Similarly for bold etc.)

It definitely seems like a bug from a user's point of view if you let me load a ttc file but then fail silently when trying to use it. If the italic font in the ttc can't be used, it should not permit the ttc font to be used in the 'italic' slot? (Similarly for bold etc.)

Added subscriber: @hzuika

Added subscriber: @hzuika

As a workaround, here's an online thingy that lets you extract .ttf files from a .ttc file:
https://transfonter.org/ttc-unpack

But I agree with the OP, having this supported in Blender would have saved me 30 minutes of research today.

As a workaround, here's an online thingy that lets you extract `.ttf` files from a `.ttc` file: <https://transfonter.org/ttc-unpack> But I agree with the OP, having this supported in Blender would have saved me 30 minutes of research today.

This is still an issue - why are devs closing issues like this willy-nilly? Yes, the workaround is doable but it took some time to find when this could simply work as expected. 😡

This is still an issue - why are devs closing issues like this willy-nilly? Yes, the workaround is doable but it took some time to find when this could simply work as expected. 😡

Looking into the issue again, not showing TTC files in the file selector (without explicitly disallowing them) seems like it may best so users don't run into broken TTC support. Submitted !121060.

Looking into the issue again, not showing TTC files in the file selector (without explicitly disallowing them) seems like it may best so users don't run into _broken_ TTC support. Submitted !121060.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2024-04-25 05:13:23 +02:00

I would like to see the “Disable TTC & OTC” change restored.
It is too much of a disadvantage for users to no longer be able to select TTC & OTC.
And it takes a lot of effort to research and deal with this sudden and capricious change.

I would like to see the “Disable TTC & OTC” change restored. It is too much of a disadvantage for users to no longer be able to select TTC & OTC. And it takes a lot of effort to research and deal with this sudden and capricious change.

@FA as these aren't supported, showing them as supported makes users spend time to attempt to use the fonts which they can't properly access.

The proper fix in this case would be to add support for selecting the font styles within these formats.

@FA as these aren't supported, showing them as supported makes users spend time to attempt to use the fonts which they can't properly access. The proper fix in this case would be to add support for selecting the font styles within these formats.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-04-29 03:23:01 +02:00

I don't use blender much at the moment, but I still get mails about this issue. To me the latest change seems like a mistake. The issue can be summarised as

  1. TTC files are supported but only partially, and
  2. the user interface does not make it obvious that the support is only partial.

Given this, it seems kind of obvious that there are two possible ways to fix the issue:

option 1: add full support for TTC files
option 2: make it obvious that support for TTC files is only partial.

What definitely isn't a fix is removing TTC support entirely. That is just a regression and it doesn't help anyone.

I don't use blender much at the moment, but I still get mails about this issue. To me the latest change seems like a mistake. The issue can be summarised as 1) TTC files *are* supported but only partially, and 2) the user interface does not make it obvious that the support is only partial. Given this, it seems kind of obvious that there are two possible ways to fix the issue: option 1: add full support for TTC files option 2: make it obvious that support for TTC files is only partial. What definitely isn't a fix is removing TTC support entirely. That is just a regression and it doesn't help anyone.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#44254
No description provided.