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     [SOLVED]delta distinct symbol ∆ in a column title
Go
New
Search
Notify
Tools
Reply
  
[SOLVED]delta distinct symbol ∆ in a column title
 Login/Join
 
Member
posted
hi all,
how is it possible to have the delta distinct symbol ∆ in a column title of a WebFOCUS Report with output for PDF.

Thanks
Udo

This message has been edited. Last edited by: <Emily McAllister>,


WebFOCUS 8105
 
Posts: 3 | Registered: September 13, 2016Reply With QuoteReport This Post
Expert
posted Hide Post
If its in a font that is available to PDF, then it can be done.

Is it with other text ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
Hi Waz,

for example
COMPUTE Difference/D12.2 = Sales_June - Sales_May; AS '∆ 05 - 06'

in the fex I can code that, but after execution instead of ∆ a ? is shown in column title.
Thanks for your help

Udo


WebFOCUS 8105
 
Posts: 3 | Registered: September 13, 2016Reply With QuoteReport This Post
Silver Member
posted Hide Post
UdoF,

You can try to save that symbol as image file and call it from the DEFINE or COMPUTE field.
As of now i do not have any codes for that.

But i guess it will give some good result.


Regards,
Suresh


WebFOCUS 8.0.05 - BI Portal, Developer Studio, Dev/App Studio, Excel, PDF, Active Formats and HTML5, Adobe Flex Builder, VBA
 
Posts: 47 | Location: Bengaluru, India | Registered: December 04, 2014Reply With QuoteReport This Post
Virtuoso
posted Hide Post
quote:
for example
COMPUTE Difference/D12.2 = Sales_June - Sales_May; AS '∆ 05 - 06'

in the fex I can code that, but after execution instead of ∆ a ? is shown in column title.
Thanks for your help

Udo


I suspect some step (either while storing the fex file, or while reading it and stuffing it into FOCSTACK at run time) is mapping the source code onto a domain of just 256 bit combinations; the Greeks (in UNICODE source) get left out in the cold.

If my conjecture is right, styling will be of no help - by the time styling gets applied, ∆ is nowhere in sight.


I had a similar issue a while back, and was able to solve it only by breaking the text into multiple fields, styling the one to contain the delta using some wingding font, and stuffing the field with a plain old alpha character (in my source) that renders as ∆ under that font. -- But that idea cannot be applied to column-headings.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
You can achieve this in the main 3 output formats by setting the title font to symbol -

-SET &Delta = HEXBYT(68,'A1');
TABLE FILE GGSALES
  SUM DOLLARS
      COMPUTE Difference/D20.2 = BUDDOLLARS - DOLLARS; AS '&Delta 05 - 06'
   BY STCD
ON TABLE PCHOLD FORMAT '&WFFMT.(HTML,PDF,EXL07).Format.'
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
  grid=off, size=10, $
  type=title, column=N3, font=Symbol, $
ENDSTYLE
END
-RUN


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
Before anyone decides to point out that you could also use 'D 05 - 06' in this case, Yes, I know but this gives you an idea if you want use alternative symbols.

Just make sure that the font that you choose to use will correctly render all the characters that you need in the title!


T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.06 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5617 | Location: United Kingdom | Registered: April 08, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Hey Tony, I get the delta symbol in PDF but HTML doesn't render in Chrome. When I try it in ie it shows the Delta. How do I check to see if the font is available in the browser?


WebFOCUS 8206, Unix, Windows
 
Posts: 1720 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Babak --

See https://en.wikipedia.org/wiki/Symbol_(typeface):

quote:
Full legacy support of the Symbol font is provided by major modern web browsers like Internet Explorer and Google Chrome. That support involves a specific handling of Adobe's special encoding, which is not properly implemented in at least some versions of other browsers, including Opera, Safari and Firefox. Such browsers do not correctly render legacy HTML documents that make explicit use of the Symbol font.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
Here is another interesting way to set the font in the title.

An extension of what Tony posted.

TABLE FILE GGSALES
  SUM DOLLARS
      COMPUTE Difference/D20.2 = BUDDOLLARS - DOLLARS; AS '<font face="symbol">D</font> <font face="Helvetica">A</font><font face="Palatino Linotype">B</font><font face="Impact">C</font><font face="Georgia">D</font>'
   BY STCD
ON TABLE PCHOLD FORMAT '&WFFMT.(HTML,PDF,EXL07).Format.'
ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
  grid=off, size=10, $
-*  type=title, column=N3, font=Symbol, $

MARKUP=ON, $
ENDSTYLE
END
-RUN


But does have issue with HTML and Excel


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.06OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6136 | Location: 33.8688° S, 151.2093° E | Registered: October 31, 2006Reply With QuoteReport This Post
Master
posted Hide Post
Thank you Waz.

The font markup, within the column heading text, worked perfectly for me.
 
Posts: 780 | Registered: April 23, 2003Reply With QuoteReport This Post
Member
posted Hide Post
Hi all, thank you for the good tips. Now it works fine. best regards Udo


WebFOCUS 8105
 
Posts: 3 | Registered: September 13, 2016Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED]delta distinct symbol ∆ in a column title

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.