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] Document Composer Fonts
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Document Composer Fonts
 Login/Join
 
Platinum Member
posted
Hello everyone

I am using Document Composer for the first time. I am trying to add various text elements with different fonts and background colors.
Font shows up fine in the development canvas but when I see the PDF output, its not that font.

Can anyone post an example with some font styles and background colors for the same?

Thank you.

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


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 117 | Registered: July 21, 2011Reply With QuoteReport This Post
Virtuoso
posted Hide Post
BI Developer

I am using WF 8.2.04 and I can not reproduce your issue. I change the font on the canvas and run it and the different fonts display properly. It may be a bug in 8.2.01 I suggest you open a case with techsupport


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1491 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
quote:
Originally posted by FP Mod Chuck:
BI Developer

I am using WF 8.2.04 and I can not reproduce your issue. I change the font on the canvas and run it and the different fonts display properly. It may be a bug in 8.2.01 I suggest you open a case with techsupport

Can you please share sample code please? Thank you.


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 117 | Registered: July 21, 2011Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Bi Developer

Here is the sample

<code>
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
OBJECT=STRING, NAME='text1', TEXT='<font face="TAHOMA" size=10>Enter text</font>', POSITION=(1.021 0.938), MARKUP=ON, WRAP=ON, DIMENSION=(2.813 0.521), METADATA='left: 1.021in; top: 0.938in; width: 2.813in; height: 0.521in; font-family: Tahoma; font-size: 10pt; position: absolute; z-index: 1;', $
OBJECT=STRING, NAME='text2', TEXT='<font face="COMIC SANS MS" size=10>Enter text</font>', POSITION=(1.021 1.771), MARKUP=ON, WRAP=ON, DIMENSION=(2.917 0.625), METADATA='left: 1.021in; top: 1.771in; width: 2.917in; height: 0.625in; font-family: Comic Sans MS; font-size: 10pt; position: absolute; z-index: 2;', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0), $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
COMPOUND END
</code>


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1491 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
quote:
Originally posted by FP Mod Chuck:
Bi Developer

Here is the sample



Please try below code. Not every font works. They may need to be installed on reporting server to work.
SET HTMLARCHIVE=ON
*-HOLD_SOURCE
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='prop_with_names^Margins_Left=0.5^Margins_Top=0.5^Margins_Right=0.5^Margins_Bottom=0.5^thumbnailscale=4', MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, SHOW_GLOBALFILTER=OFF, $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
OBJECT=STRING, NAME='text1', TEXT='<font face="TAHOMA" size=10>Enter text</font>', POSITION=(1.021 0.938), MARKUP=ON, WRAP=ON, DIMENSION=(2.813 0.521),  METADATA='left: 1.021in; top: 0.938in; width: 2.813in; height: 0.521in; font-family: Tahoma; font-size: 10pt; position: absolute; z-index: 1;', $
OBJECT=STRING, NAME='text2', TEXT='<font face="COMIC SANS MS" size=10>Enter text</font>', POSITION=(1.021 1.771), MARKUP=ON, WRAP=ON, DIMENSION=(2.917 0.625),  METADATA='left: 1.021in; top: 1.771in; width: 2.917in; height: 0.625in; font-family: Comic Sans MS; font-size: 10pt; position: absolute; z-index: 2;', $
OBJECT=STRING, NAME='text3', TEXT='<font face="PAPYRUS" size=18>Enter text</font>', POSITION=(1.150 2.833), MARKUP=ON, WRAP=ON, DIMENSION=(4.083 1.333),  METADATA='left: 1.15in; top: 2.833in; width: 4.083in; height: 1.333in; font-family: Papyrus; font-size: 18pt; position: absolute; z-index: 3;', $
COMPONENT='DfltCmpt1', POSITION=(0 0), DIMENSION=(0 0),  $
END
SET COMPONENT='DfltCmpt1'
TABLE FILE SYSCOLUM
" "
SUM TBNAME NOPRINT
IF READLIMIT EQ 1
ON TABLE SET PREVIEW ON
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
END
COMPOUND END


WF 8.2.01 APP STUDIO
PDF,HTML,EXL2K,Active
 
Posts: 117 | Registered: July 21, 2011Reply With QuoteReport This Post
Virtuoso
posted Hide Post
You are right Papyrus did not display correctly at run time, it looked fine in the document composer. Better open a case to report this.
 
Posts: 1491 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Document Composer Fonts

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