Some font names are unreadable in animated title editor

Bug #712295 reported by IRIE Shinsuke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
Medium
Unassigned

Bug Description

Font selector in the animated title editor uses PIL's ImageFont module since r442. However, it extracts the font names from .ttf files regardless of current locale and assumes the names contain only ASCII characters, so some fonts having only multibyte name become unreadable in the dropdown menu. (See screenshot)

Tags: patch
Revision history for this message
IRIE Shinsuke (irie) wrote :
Revision history for this message
IRIE Shinsuke (irie) wrote :

I wrote a patch for this issue. By applying this patch, the font selector uses 'fc-list' command instead of ImageFont module, and should correctly show the font names according to current locale.

Revision history for this message
IRIE Shinsuke (irie) wrote :

Screenshot after applying my patch.

Revision history for this message
Olivier Girard (eolinwen) wrote :

That's right that's better. :)
Thanks a lot.

Changed in openshot:
status: New → Fix Committed
milestone: none → 1.3.0
Revision history for this message
IRIE Shinsuke (irie) wrote :

@cenwen
The change isn't committed to trunk yet. I wonder why you changed the status into "Fix Committed"...

Revision history for this message
Olivier Girard (eolinwen) wrote :

It is an error(?) of translation/appreciation that i am doing between Fix Committed and Fix Released.
In my mind it is :
Committed=submit waiting to an acceptance
Released=Accepted and put in the trunk
Is it the opposite ? How do you understand that you ?

Revision history for this message
IRIE Shinsuke (irie) wrote :

I think :

Fix Committed = Accepted and put in the trunk
Fix Released = Included in stable (or beta) version

and "Submit waiting to an acceptance" is a last stage of "In Progress".

For example, in bug #670960, Jonathan changed the status into "Fix Committed" when he put the modification to trunk.

Revision history for this message
Olivier Girard (eolinwen) wrote :

Ah Funny. I have always think that was in progression.
Thanks for the explanations.

Andy Finch (fincha)
Changed in openshot:
status: Fix Committed → Confirmed
Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Thanks IRIE! The patch works great. My only hesitation with this patch is it adds a new dependency to OpenShot... "fontconfig". I don't know much about this library, but it seems pretty common. So, I updated our help manual to include this new dependency, and committed the patch to the trunk.

Changed in openshot:
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
IRIE Shinsuke (irie) wrote :

> I don't know much about this library, but it seems pretty common.

Yeah, 'fontconfig' package is required by GTK+, so it should be installed even if not specifying explicitly.

moimael (moimael)
Changed in openshot:
status: Fix Committed → Fix Released
tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.