Fonts with self-intersections not displayed correctly #42071

Open
opened 2014-10-04 10:39:18 +02:00 by pistol ioan · 16 comments

Short description of error
Some fonts downloaded from Google Fonts like Quicksand, Raleway, Comfortaa, Jura, have editable properties (width and others) and therefore have geometry full of intersections.

The scanfill in Blender has a limitation that does not consider the direction of the contours (clockwise with counterclockwise) to define a hole.
Here is a GIF showing how the direction of the contour should influence the result:
GIF.gif

Here are some examples of fonts showing the problem:

image.png image.png KG_Broken_Vessels_Sketch.jpg Screenshot_1.png
Roboto Flex Quicksand KG Broken Vessels Sketch Comfortaa

Exact steps for others to reproduce the error

Comfortaa-New.zip
Quicksand-New.zip

**Short description of error** Some fonts downloaded from Google Fonts like `Quicksand`, `Raleway`, `Comfortaa`, `Jura`, have editable properties (width and others) and therefore have geometry full of intersections. The `scanfill` in Blender has a limitation that does not consider the direction of the contours (clockwise with counterclockwise) to define a hole. Here is a **GIF** showing how the direction of the contour should influence the result: ![GIF.gif](https://archive.blender.org/developer/F9577758/GIF.gif) Here are some examples of fonts showing the problem: |![image.png](https://archive.blender.org/developer/F13969815/image.png)|![image.png](https://archive.blender.org/developer/F9560856/image.png)|![KG_Broken_Vessels_Sketch.jpg](https://archive.blender.org/developer/F114626/KG_Broken_Vessels_Sketch.jpg)|![Screenshot_1.png](https://archive.blender.org/developer/F13966663/Screenshot_1.png) | -- | -- | -- | -- | |Roboto Flex|Quicksand|KG Broken Vessels Sketch|Comfortaa **Exact steps for others to reproduce the error** - Download any of the mentioned fonts. - Open simple .blend file with fonts implemented. [fontissues.blend](https://archive.blender.org/developer/F9560862/fontissues.blend) [KG_Broken_Vessels_Sketch.blend](https://archive.blender.org/developer/F114628/KG_Broken_Vessels_Sketch.blend) [KGBrokenVesselsSketch.ttf](https://archive.blender.org/developer/F114625/KGBrokenVesselsSketch.ttf) [Comfortaa-New.zip](https://archive.blender.org/developer/F9560863/Comfortaa-New.zip) [Quicksand-New.zip](https://archive.blender.org/developer/F9560866/Quicksand-New.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @istoltoto

Added subscriber: @istoltoto

#102753 was marked as duplicate of this issue

#102753 was marked as duplicate of this issue

#94764 was marked as duplicate of this issue

#94764 was marked as duplicate of this issue

#84629 was marked as duplicate of this issue

#84629 was marked as duplicate of this issue
Sergey Sharybin was assigned by Bastien Montagne 2014-10-04 12:03:55 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Hmmmm… that font has some weird crossing cruves, not sure our filling algorithm supports that? Sergey should know. ;)

Hmmmm… that font has some weird crossing cruves, not sure our filling algorithm supports that? Sergey should know. ;)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @ideasman42

Added subscriber: @ideasman42

It's not supported. Self-intersections confuses the scanfill used for tessellation. Known limitation, not a bug. Thanks for the report anyway.

@ideasman42, CCing you so you can use the file as a reference when looking into some possible improvements.

It's not supported. Self-intersections confuses the scanfill used for tessellation. Known limitation, not a bug. Thanks for the report anyway. @ideasman42, CCing you so you can use the file as a reference when looking into some possible improvements.
Author

Same problem i found with this font:
http://www.fontspace.com/david-kerkhoff/dk-crayon-crumble

Many thanks for investigate this.

Same problem i found with this font: http://www.fontspace.com/david-kerkhoff/dk-crayon-crumble Many thanks for investigate this.

Added subscribers: @ReljaTrajkovic, @mano-wii, @rjg

Added subscribers: @ReljaTrajkovic, @mano-wii, @rjg

Added subscriber: @Kent-Davis

Added subscriber: @Kent-Davis
Germano Cavalcante changed title from Font not working or displayed correctly in Blender to Fonts with self-intersections not displayed correctly 2023-01-10 15:42:36 +01:00
Added subscribers: @hxika, @DuarteRamos, @HooglyBoogly, @PratikPB2123, @Harley

Changed status from 'Archived' to: 'Confirmed'

Changed status from 'Archived' to: 'Confirmed'

Due to the amount of reports, I believe it is better to set this as Known Issue, otherwise it is difficult to find

Due to the amount of reports, I believe it is better to set this as `Known Issue`, otherwise it is difficult to find
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:30:17 +01:00
Sergey Sharybin removed their assignment 2023-02-13 18:40:29 +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
6 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#42071
No description provided.