Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

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

OS923

  • 512 MB
  • *****
  • Posts: 888
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?
Logged

OS923

  • 512 MB
  • *****
  • Posts: 888
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.
Logged
Pages: [1]   Go Up

Recent Topics