Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Spacing issue when displaying ascii characters and Superscript in PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Spacing issue when displaying ascii characters and Superscript in PDF
 Login/Join
 
Member
posted
Hi,
I am trying to display Copyright symbol and a Superscript on the same line in a PDF report. when i run the code these are displayed with additional spacing. Is there a way or command to supress this additional spacing around the super Script value.

TABLE FILE CAR
PRINT
CAR NOPRINT
COMPUTE REG_TDMRK/A1= HEXBYT(174, 'A1');NOPRINT
COMPUTE COL1/A100 = 'REGISTERED TRADE MARK' || REG_TDMRK | ' SUPERSCRIPTAB TESTING';
COMPUTE COL2/A100 = 'REGISTERED TRADE MARK' | ' SUPERSCRIPTAB TESTING';
WHERE READLIMIT EQ 10

ON TABLE SET DROPBLNKLINE HEADING
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
$
TYPE=REPORT,FONT='ARIAL', COLOR=BLACK,STYLE=NORMAL,BORDER-LEFT=OFF,BORDER-RIGHT=OFF,
SIZE=9,BOTTOMGAP=0.023,TOPGAP=0.023,SQUEEZE=ON,$
TYPE=REPORT,COLUMN=P1,WRAP=4,MARKUP=ON,$
TYPE=REPORT,COLUMN=P2,WRAP=4,MARKUP=ON,$
ENDSTYLE
END
Thanks
Kiran

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2/Linux
 
Posts: 6 | Registered: May 24, 2017Report This Post
Platinum Member
posted Hide Post
Hello,
Try this out,
TABLE FILE CAR
PRINT
CAR NOPRINT

COMPUTE REG_TDMRK/A1= HEXBYT(169, 'A1');NOPRINT
COMPUTE COL1/A100 =  'REGISTERED TRADE MARK'|REG_TDMRK | ' SUPERSCRIPT<sup>AB</sup> TESTING';
-*COMPUTE COL2/A100 = 'REGISTERED TRADE MARK' | ' SUPERSCRIPTAB TESTING';
WHERE READLIMIT EQ 10

ON TABLE SET DROPBLNKLINE HEADING
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
$
TYPE=REPORT,FONT='ARIAL', COLOR=BLACK,STYLE=NORMAL,BORDER-LEFT=OFF,BORDER-RIGHT=OFF,
SIZE=9,BOTTOMGAP=0.023,TOPGAP=0.023,SQUEEZE=ON,MARKUP=ON,$
TYPE=REPORT,COLUMN=P1,WRAP=4,$
TYPE=REPORT,COLUMN=P2,WRAP=4,$
ENDSTYLE
END

 
Posts: 109 | Registered: February 02, 2016Report This Post
Member
posted Hide Post
Hi Pav,
I still see the issue.


WebFOCUS 8.2/Linux
 
Posts: 6 | Registered: May 24, 2017Report This Post
Platinum Member
posted Hide Post
Kiron,

could you please send out the image of the output or a just the result screenshot. I don't see any spacing issue.
 
Posts: 109 | Registered: February 02, 2016Report This Post
Member
posted Hide Post
TABLE FILE CAR
PRINT
CAR NOPRINT
COMPUTE REG_TDMRK/A1= HEXBYT(174, 'A1');NOPRINT
COMPUTE COL1/A100 = 'TRADE MARK' | REG_TDMRK | ' SUPERSCRIPT<sup>AB</sup> TESTING' ;
COMPUTE COL2/A100 = 'TRADE MARK' | ' SUPERSCRIPT<sup>AB</sup> TESTING';
WHERE READLIMIT EQ 2
ON TABLE SET DROPBLNKLINE HEADING
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
LEFTMARGIN=0.000000,
RIGHTMARGIN=0.000000,
TOPMARGIN=0.000000,
BOTTOMMARGIN=0.000000,
SQUEEZE=ON,
$
TYPE=REPORT,FONT='ARIAL', COLOR=BLACK,STYLE=NORMAL,BORDER-LEFT=OFF,BORDER-RIGHT=OFF,
SIZE=9,BOTTOMGAP=0.023,TOPGAP=0.023,SQUEEZE=ON,$
TYPE=REPORT,COLUMN=P1,WRAP=3,MARKUP=ON,$
TYPE=REPORT,COLUMN=P2,WRAP=3,MARKUP=ON,$
ENDSTYLE
END

I could not attach the Output Image so pasting the PDF output Data.

OUTPUT

COL1 COL2
TRADE MARK® SUPERSCRIPT AB TESTING TRADE MARK SUPERSCRIPTAB TESTING

its addding a space between (SUPERSCRIPT AB) in COL1 where as there is no space in COL2.


WebFOCUS 8.2/Linux
 
Posts: 6 | Registered: May 24, 2017Report This Post
Platinum Member
posted Hide Post
I ran your code and I did't any spacing problem with superscript AB in COL1.

I am using 8.1.05 App Stdio, I can see you are using 8.2 App Studio.

It's better if someone can help us.

Thank You.
 
Posts: 109 | Registered: February 02, 2016Report This Post
Member
posted Hide Post
You have an extra space between the apostrophe and SUPERSCRIPTAB TESTING in col1. Remove the space.
COMPUTE COL1/A100 = 'REGISTERED TRADE MARK' || REG_TDMRK | 'SUPERSCRIPTAB TESTING';
I misunderstood your initial question.

I did run the code PAV provided and I don't see any additional spacing issues in Col1 from Col2, using WebFOCUS 8.2.

This message has been edited. Last edited by: Lisa Lindquist,
 
Posts: 14 | Location: Minnesota | Registered: August 01, 2016Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Spacing issue when displaying ascii characters and Superscript in PDF

Copyright © 1996-2020 Information Builders