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
March 13, 2019, 12:01 PM
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
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 15, 2019, 12:41 PM
BI_Developer
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
March 15, 2019, 01:25 PM
FP Mod Chuck
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
March 15, 2019, 01:49 PM
BI_Developer
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
March 15, 2019, 01:57 PM
FP Mod Chuck
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.