Change the Font in all Reports?

girish.joshigirish.joshi Member Posts: 407
Does anyone know of way to change the font that appears in all reports?

Anything better than some kind of find and replace on the objects as text?

Answers

  • matttraxmatttrax Member Posts: 2,309
    I'm 99% sure there is no good way to do this. I've wanted to do it with Font Size before and couldn't. I believe the font name and size are controlled at the text box / label level, not at the report level. Plus, if the property is left as default it isn't exported into the text file, which makes it a lot harder to do a find and replace.
  • girish.joshigirish.joshi Member Posts: 407
    Here is how to do it, Matt.

    Edit the registry mapping of the Font Helvetica to something else. The key is located here:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes

    then restart the machine.
  • anand_sri12anand_sri12 Member Posts: 71
    It will subsitute font helvetica for all the application
    which are using the font currently will it be right to do this just for sake of
    navision's reports
    With thanks

    Anand Kumar
    Navision Technical Consultant
  • fufikkfufikk Member Posts: 104
    There is also another way... a bit time consuming though:

    export report as text, check CONTROLS part of each section, check if it contains FontName property, modify it (or add it if does not exist - which is usually the case), save and import back to navision:

    before:
    { 6   ;TextBox      ;0    ;846  ;7500 ;423  ;SourceExpr=COMPANYNAME }
    

    after:
    { 6   ;TextBox      ;0    ;846  ;7500 ;423  ;FontName=Courier;
                                                             SourceExpr=COMPANYNAME }
    

    You can do it manually or write a program which will do that for you :)
Sign In or Register to comment.