Forums MyID knowledge base MY0421 Add a new font for use in card layout

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3697
    MyID SupportMyID Support
    Keymaster

    Question

    Can I add a new font to be used within the MyID card layout? 

    Answer 

    Yes it is possible to include new fonts within the MyID card layout editor. Additional fonts can be specified as a custom hook within MyID custom web hooks folders. 

    Please do the following (and obviously test before rollout): 

        • Ensure the desired fonts are installed on all the workstations that will be printing the cards and editing the layout.
        • Make an exact note of the system font names
        • You will need to edit the res/custom/js/JSHook/asp file in each language; example location : C:\Program Files (x86)\Intercede\MyID\Web\en\res\custom\js 
        • Add the following function – or amend if it previously exists

    function customCardPrinterFonts(){  
    Response.Write(‘<option value=”MyFont” >MyFont</option>’)  
    Response.Write(‘<option value=”MyFont2″ >My other font</option>’)  
    }

    Replace “MyFont” with the exact font name you wish to add and then do the same with “MyFont2” if you wish to add more fonts.  

Viewing 1 post (of 1 total)
  • The forum ‘MyID knowledge base’ is closed to new topics and replies.