Maximum length logical font name

Author: gianni.sandigliano@unifacesolutions.com (gianni)

Hi Unifacers, In the [SCREEN] and [PRINTER] section of the INI file logical fonts are defined. Which is the maximum length accepted for a logical font name? I've looked into documentation with no success...so I made some test. With Development U9.7.04: 1) I've defined into my .INI file the following fonts: Label30LabelLabel8901234567890=Arial,Central European,8,regular Label31LabelLabel89012345678901=Arial,Central European,8,regular Label32LabelLabel890123456789012=Arial,Central European,8,regular Label33LabelLabel8901234567890123=Arial,Central European,8,regular Label34LabelLabel89012345678901234=Arial,Central European,8,regular Label35LabelLabel890123456789012345=Arial,Central European,8,regular Label36LabelLabel8901234567890123456=Arial,Central European,8,regular Label37LabelLabel89012345678901234567=Arial,Central European,8,regular Label38LabelLabel890123456789012345678=Arial,Central European,8,regular Label39LabelLabel8901234567890123456789=Arial,Central European,8,regular Label40LabelLabel89012345678901234567890=Arial,Central European,8,regular 2) Then I've tried to associate a label to each one of them going up from 30 to 40; logical font names are accepted (ticked) in IDF up to 39 characters. 40 is not accepted (ticked) anymore. It seems the physical limit is 39, however IMHO it should be better to stick to a maximum of 32 characters, aligned with many other objects names in IDF. Hope it helps. Gianni

1 Comment

  1. Hi Gianni, Thanks for sharing this info.

    gianni said Which is the maximum length accepted for a logical font name? I've looked into documentation with no success...so I made some test.

    It seems that internally the max. length of a font name is 32 characters.

    gianni said It seems the physical limit is 39, however IMHO it should be better to stick to a maximum of 32 characters, aligned with many other objects names in IDF.  

    You are correct, it is indeed a good idea to stick to that maximum. Daniel


    Author: diseli (daniel.iseli@uniface.com)