[x3d-public] Open dyslexic and/or (unfortunately) comicsans fonts

Holger Seelig holger.seelig at yahoo.de
Mon Feb 24 02:48:47 PST 2025


With X_ITE you can use a URL in the family field of a FontStyle node to specify a path to a custom font file. Provided you have one of these fonts, it should be very easy:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Interchange' version='4.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  <head>
    <component name='Text' level='1'/>
  </head>
  <Scene>
    <Transform DEF='Text'>
      <Shape>
        <Appearance>
          <Material/>
        </Appearance>
        <Text
            string='"3D Text"'>
          <FontStyle
              family='"path/to/your/font.otf", "SERIF"'/>
        </Text>
      </Shape>
    </Transform>
  </Scene>
</X3D>

Supported File Formats:
https://create3000.github.io/x_ite/components/text/fontstyle/#supported-file-formats

Best regards,
Holger

--
Holger Seelig
Leipzig, Germany

holger.seelig at yahoo.de
https://create3000.github.io/x_ite/

> Am 24.02.2025 um 11:09 schrieb John Carlson via x3d-public <x3d-public at web3d.org>:
> 
> If someone knows how change the fonts of the standards to OpenDyslexic or ComicSans, that might be a great accessibility experiment. _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20250224/5b0aec39/attachment.html>


More information about the x3d-public mailing list