Skip to content

Draw io does not allow usage of loaded custom Tamil font #2293

@user3477071

Description

@user3477071

Preflight Checklist

  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must search the issue tracker and agree to the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug
Unable to use self typing tamil font in draw io

To Reproduce
Steps to reproduce the behavior:

  1. Go to
    https://www.azhagi.com/innovative-fonts-unique-and-special.php

    Download the file
    Azhagi.Com-SaiIndira-Bilingual-PhoneticTransliteration.ttf

    Double click on the downloaded ttf file from inside Ubuntu File Manager and click on the
    'Install' button in the top right corner. This will copy the .ttf file to
    $HOME/.local/share/fonts/Azhagi.Com-SaiIndira-Bilingual-PhoneticTransliteration.ttf

    At this point we have successfully installed a self typing tamil font in Ubuntu OS to be available in all
    applications.

    The full name of this font is
    $ otfinfo -i Azhagi.Com-SaiIndira-Bilingual-PhoneticTransliteration.ttf | grep Full
    Full name: Azhagi.Com-SaiIndira-PhoneticTr

  2. Startup desktop drawio app which was installed using the commmand
    $ sudo snap install drawio

  3. Add a text box to the diagram and in the right tab click on the 'Text' tab and from the 'Font' drop down
    choose 'Custom...' option to bring up the popup which will have 'System Fonts' check box automatically
    selected. In the 'Font Name' section, enter 'Azhagi.Com-SaiIndira-PhoneticTr.

    At this point Font inside 'Text' tab in right panel will be set to
    Azhagi.Com-SaiIndira-PhoneticTr

  4. Click inside the added text box in the diagram. At this point, the Font which was just a moment ago
    set to
    Azhagi.Com-SaiIndira-PhoneticTr
    will automatically change to
    Times New Roman
    For some reason the draw io does not recognize the custom font loaded moments ago.
    Any attempt to choose
    Azhagi.Com-SaiIndira-PhoneticTr
    from the Font drop down is immediately rejected and does not stay as a selected font

Expected behavior
The draw io application should allow input of characters using loaded custom font.

  • draw.io version 28.2.5

Desktop (please complete the following information):

  • OS: Ubuntu

  • Browser [e.g. chrome, safari]: Standalone application, browser not applicable

  • Browser Version [e.g. 22] Not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions