Skip to content

Commit

Permalink
Fig diagram for cross-platform font coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanhogg committed Oct 10, 2024
1 parent b3f94cb commit d7ca9d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/diagrams/box_uvmap.fl
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ import axes from '../../examples/common/axes.fl'
!ellipse point=TEXTURE*(-0.5;0.5) radius=w/8 fill=true
!text point=TEXTURE*(-0.5;0.75) text="(0, 0)"
!ellipse point=TEXTURE*(-0.5+1/6;-0.5) radius=w/8 fill=true
!text point=TEXTURE*(-0.5+1/6;-0.75) text="(¹⁄₆, 1)"
!text point=TEXTURE*(-0.5+1/6;-0.75) text="(1/6, 1)"
!ellipse point=TEXTURE*(-0.5+5/6;0.5) radius=w/8 fill=true
!text point=TEXTURE*(-0.5+5/6;0.75) text="(⁵⁄₆, 0)"
!text point=TEXTURE*(-0.5+5/6;0.75) text="(5/6, 0)"
!ellipse point=TEXTURE*(0.5;-0.5) radius=w/8 fill=true
!text point=TEXTURE*(0.5;-0.75) text="(1, 1)"
!group translate=SIZE*(0.5;0.75) font_size=w/2
!text point=CUBES*(-0.05;0.23) text="x" color=1;0;0
!text point=CUBES*(-0.25;-0.46) text="y" color=0;1;0
!text point=CUBES*(-0.45;0.23) text="z" color=0;0;1
!transform translate=SIZE*(0;0.25) scale=TEXTURE/SIZE
!canvas id=:texture size=TEXTURE font_family='Menlo' font_weight=:bold
!canvas id=:texture size=TEXTURE font_family='Arial' font_weight=:bold
let w=TEXTURE[0]/6
!rect size=TEXTURE fill=true color=1
!group color=0 font_size=0.9*w
Expand Down
Binary file modified docs/diagrams/box_uvmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d7ca9d7

Please sign in to comment.