Author Topic: Font of bookmarks in Acrobat Reader 5  (Read 946 times)

Offline OS923

  • Gold Member (200+ Posts)
  • *****
  • Posts: 438
Font of bookmarks in Acrobat Reader 5
« on: March 13, 2018, 04:25:53 AM »
Is there a way to change the font of the bookmarks in Acrobat Reader 5?

Offline OS923

  • Gold Member (200+ Posts)
  • *****
  • Posts: 438
Re: Font of bookmarks in Acrobat Reader 5
« Reply #1 on: June 06, 2019, 02:42:16 AM »
If you remove Helvetica, then GetFNum(Helvetica) is 0, which means "system font". There are 2 system fonts, one for the menus and title bars and one for the rest, which is Geneva.

My extension patches GetFNum to make it return 0 if the family ID of Helvetica was returned (this is a bit faster than comparing the font name) and the current application is Acrobat or Reader. Because Acrobat and Reader use their own library to render PDF documents, Helvetica can still be drawn in the documents.

Unfortunately the PPC version crashes, although it looked like a normal trap that was easy to patch.