Font Noto Color Emoji doesn't work in VSE #70278

Open
opened 2019-09-26 16:21:36 +02:00 by Adam Žingor · 4 comments

System Information
Operating system: Ubuntu 18.04 64bit
Graphics card: NVIDIA GTX 750 Ti

Blender Version
Broken: v2.81 Alpha 2019-09-25 20:42

Short description of error
When setting font to Noto Color Emoji (from Google) on a Text strip in Sequencer, no characters (as letters or ?) are shown in preview nor render. In previous version the Blender crashed.

Exact steps for others to reproduce the error
Open VSE, add Text strip and change font to Noto Color Emoji.

Crash log from previous version

# Blender 2.81 (sub 8), Unknown revision
bpy.context.scene.sequence_editor.sequences_all["Text.219"].text = ""  # Property
bpy.context.scene.sequence_editor.sequences_all["Text.219"].text = "?"  # Property
bpy.context.space_data.bookmarks_active = 8  # Property
bpy.context.space_data.bookmarks_active = 9  # Property
bpy.ops.font.open(filepath="//../../../../../../usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", relative_path=True)  # Operator

# backtrace
/usr/lib/blender/blender(BLI_system_backtrace+0x33) [0x55fa3afc0963]
/usr/lib/blender/blender(+0x11f37a6) [0x55fa3ad927a6]
/lib/x86_64-linux-gnu/libc.so.6(+0x41100) [0x7f261a11f100]
/usr/lib/blender/blender(+0x2ec786b) [0x55fa3ca6686b]
/usr/lib/blender/blender(+0x2ec7a6d) [0x55fa3ca66a6d]
/usr/lib/blender/blender(+0x132cc18) [0x55fa3aecbc18]
/usr/lib/blender/blender(+0x1340b9e) [0x55fa3aedfb9e]
/usr/lib/blender/blender(+0x1341dae) [0x55fa3aee0dae]
/usr/lib/blender/blender(+0x1342a1a) [0x55fa3aee1a1a]
/usr/lib/blender/blender(BKE_sequencer_give_ibuf+0x14d) [0x55fa3aee1dfd]
/usr/lib/blender/blender(sequencer_ibuf_get+0x1c1) [0x55fa3b7d2141]
/usr/lib/blender/blender(sequencer_draw_preview+0x198) [0x55fa3b7d22f8]
/usr/lib/blender/blender(+0x1c2d148) [0x55fa3b7cc148]
/usr/lib/blender/blender(ED_region_do_draw+0x561) [0x55fa3b6a3fd1]
/usr/lib/blender/blender(wm_draw_update+0x426) [0x55fa3b198696]
/usr/lib/blender/blender(WM_main+0x30) [0x55fa3b195e10]
/usr/lib/blender/blender(main+0x2e4) [0x55fa3ad503b4]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f261a10209b]
/usr/lib/blender/blender(_start+0x2a) [0x55fa3ad8ee5a]

NotoColorEmoji.ttf

**System Information** Operating system: Ubuntu 18.04 64bit Graphics card: NVIDIA GTX 750 Ti **Blender Version** Broken: v2.81 Alpha 2019-09-25 20:42 **Short description of error** When setting font to Noto Color Emoji (from Google) on a Text strip in Sequencer, no characters (as letters or ?) are shown in preview nor render. In previous version the Blender crashed. **Exact steps for others to reproduce the error** Open VSE, add Text strip and change font to Noto Color Emoji. **Crash log from previous version** ``` # Blender 2.81 (sub 8), Unknown revision bpy.context.scene.sequence_editor.sequences_all["Text.219"].text = "" # Property bpy.context.scene.sequence_editor.sequences_all["Text.219"].text = "?" # Property bpy.context.space_data.bookmarks_active = 8 # Property bpy.context.space_data.bookmarks_active = 9 # Property bpy.ops.font.open(filepath="//../../../../../../usr/share/fonts/truetype/noto/NotoColorEmoji.ttf", relative_path=True) # Operator # backtrace /usr/lib/blender/blender(BLI_system_backtrace+0x33) [0x55fa3afc0963] /usr/lib/blender/blender(+0x11f37a6) [0x55fa3ad927a6] /lib/x86_64-linux-gnu/libc.so.6(+0x41100) [0x7f261a11f100] /usr/lib/blender/blender(+0x2ec786b) [0x55fa3ca6686b] /usr/lib/blender/blender(+0x2ec7a6d) [0x55fa3ca66a6d] /usr/lib/blender/blender(+0x132cc18) [0x55fa3aecbc18] /usr/lib/blender/blender(+0x1340b9e) [0x55fa3aedfb9e] /usr/lib/blender/blender(+0x1341dae) [0x55fa3aee0dae] /usr/lib/blender/blender(+0x1342a1a) [0x55fa3aee1a1a] /usr/lib/blender/blender(BKE_sequencer_give_ibuf+0x14d) [0x55fa3aee1dfd] /usr/lib/blender/blender(sequencer_ibuf_get+0x1c1) [0x55fa3b7d2141] /usr/lib/blender/blender(sequencer_draw_preview+0x198) [0x55fa3b7d22f8] /usr/lib/blender/blender(+0x1c2d148) [0x55fa3b7cc148] /usr/lib/blender/blender(ED_region_do_draw+0x561) [0x55fa3b6a3fd1] /usr/lib/blender/blender(wm_draw_update+0x426) [0x55fa3b198696] /usr/lib/blender/blender(WM_main+0x30) [0x55fa3b195e10] /usr/lib/blender/blender(main+0x2e4) [0x55fa3ad503b4] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7f261a10209b] /usr/lib/blender/blender(_start+0x2a) [0x55fa3ad8ee5a] ``` [NotoColorEmoji.ttf](https://archive.blender.org/developer/F7775854/NotoColorEmoji.ttf)
Author

Added subscriber: @Zhincore

Added subscriber: @Zhincore

Added subscriber: @bent

Added subscriber: @bent
Richard Antalik self-assigned this 2019-10-01 15:45:30 +02:00

From what I gathered:

  • It is not possible to "install" this font on windows
  • Font in question is supported by freetype
  • There is already TODO in the code, to implement fix (find nearest supported font size and use that if our requested size is not found)
  • I have been able to use different type of font, like github.com/eosrei/emojione-color-font

Even if use of this font was fixed, the output would be monochromatic without shading.
I don't know what it would take to support color fonts, but I guess it won't be particularly easy.

I wont be able to work on this anytime soon, but I will keep this in tracker, if any dev will be interested to solve this.

From what I gathered: - It is not possible to "install" this font on windows - Font in question is supported by freetype - There is already TODO in the code, to implement fix (find nearest supported font size and use that if our requested size is not found) - I have been able to use different type of font, like github.com/eosrei/emojione-color-font Even if use of this font was fixed, the output would be monochromatic without shading. I don't know what it would take to support color fonts, but I guess it won't be particularly easy. I wont be able to work on this anytime soon, but I will keep this in tracker, if any dev will be interested to solve this.
Richard Antalik removed their assignment 2019-10-07 08:30:29 +02:00

Added subscriber: @iss

Added subscriber: @iss
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:32:05 +01:00
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
3 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#70278
No description provided.