Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
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
Go
New
Search
Notify
Tools
Reply
  
[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, 2017Reply With QuoteReport 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: 107 | Registered: February 02, 2016Reply With QuoteReport This Post
Member
posted Hide Post
Hi Pav,
I still see the issue.


WebFOCUS 8.2/Linux
 
Posts: 6 | Registered: May 24, 2017Reply With QuoteReport 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: 107 | Registered: February 02, 2016Reply With QuoteReport 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, 2017Reply With QuoteReport 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: 107 | Registered: February 02, 2016Reply With QuoteReport 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, 2016Reply With QuoteReport This Post
  Powered by Social Strata  
 

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-2018 Information Builders, leaders in enterprise business intelligence.