Author Topic: Font Mapping (Part 2)  (Read 6395 times)

DDP021

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Font Mapping (Part 2)
« on: March 15, 2013, 05:32:04 AM »
Hello, I had previously posted about mapping AFP fonts on the webi....We finally were able to get things to work on our DEV environment and the user signed off on our changes..We thought all we had to do is move everything into PROD but for some reason they aren't being picked up...Below is the path on the server for the changes:

/usr/lpp/ars/www/afp2pdf/font

Under the font folder, we updated the coded.fnt and csdef.fnt files with the updates...As stated these changes work perfectly on the DEV server...Both servers are running 8.5.0....Could it be a rights/owner issue on the files?..Does anyone know when these are called in? Is it the time when the report is opened?...We've even tried reloading the data after we made the changes..

The code.fnt contained the "User Coded Fonts"

;USER CODED FONTS
;CODEDFONT=CHARSET,CODEPAGE
X?980130=C?H200A0,T1V10500
X0A0730I=C0A0730I,T1GI0361
X0A0530I=C0A05300,T1GI0361
X050F0=C0540000,T1V10500
X050D8=C0520080,T1V10500
X050F8=C0540080,T1V10500
X0N0D0=C0N20000,T1V10500
X0N0F0=C0N20000,T1V10500
X0N0F0=C0N40000,T1V10500
X0A0530I=C0A05300,T1GI0361
X0A0538I=C0A05300,T1GI0361
X0A073BI=C0A073B0,T1GI0361

For the CSDEF.fnt, we added the following:

;charset = fgid,height,width,strikeover,underline
;***** Put User defined/Custom character sets here *****
C0A0730I=318,80,0
C0A05300=86,80,0
C0540000=86,80,0
C0520080=86,80,0
C0540080=86,80,0
C0N20000=86,80,0
C0N40000=86,80,0
C0A05300=86,80,0
C0A05380=86,80,0
C0A073B0=86,80,0


Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Personal Website
Re: Font Mapping (Part 2)
« Reply #1 on: March 15, 2013, 05:52:34 AM »
Yes, this processing is done only when the document is opened.

Just wanted to check, if 318 and 86 are defined under [FGID] and that font family is mapped to the true type fonts?
 
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com

DDP021

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: Font Mapping (Part 2)
« Reply #2 on: March 15, 2013, 06:37:01 AM »
Thanks for the reply...I don't recall us updating anything else but the two files listed (coded.fnt & csdef.fnt)...Just can't figure out WHY in PROD these aren't being picked up with in DEV they do....Very FRUSTRATING!!....Just wish there was a way to track to see what is happening when the report is opened up in webi to see what it is, or isn't, being picked up...

To answer you question, I believe so...As indicated, we experimented and found the closet font(s) we could that was being used on the mainframe....

Frederick Tybalt

  • Full Member
  • ***
  • Posts: 124
    • View Profile
    • Personal Website
Re: Font Mapping (Part 2)
« Reply #3 on: March 15, 2013, 07:17:41 AM »
could you try running afp2pdf on command line against the same file in production and find if you get any warnings?
rIcK
======------------------======
www.rick.co.in | www.tekbytz.com

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Font Mapping (Part 2)
« Reply #4 on: March 15, 2013, 08:07:51 PM »
As I'm sure you already know, nothing is where it's supposed to be on that particular prod server.  ;)

It may be that the library has been created somewhere else, and the reason you're not picking up those new fonts is because the server isn't looking for them in the place you're thinking that it's looking for them.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

DDP021

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
Re: Font Mapping (Part 2)
« Reply #5 on: March 21, 2013, 07:38:59 AM »
So true Justin....

We found the issue...Mind you I'm not a server person so pardon my explanation attempting to repeat what our systems person told me..

The changes had to be copied to the websphere servers also for prod...Apparently our CMOD Dev server is configured differently than out CMOD Prod server..The DEV server is on the same 'box' as the Dev websphere box so when we made the change on our Dev server, it was also done on the websphere server..With CMOD PRod, they are on a different box so even though we updated the files on the CMOD PRod server, they didn't get replicated automatically on the websphere servers...Hope this makes SOME sense????...

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Font Mapping (Part 2)
« Reply #6 on: March 22, 2013, 04:10:37 AM »
Makes perfect sense.  :)  Thanks for following up with your solution! 

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR