Thursday, October 13, 2022
Tip of the Day: Specify a Custom Font in PDF Output with Font Substitutions
Product.......: R:BASE X.5 and R:BASE X.5 Enterprise (Version 10.5)
Build.........: 10.5.5.11013 or higher
Sections......: Reports/Labels
Keywords......: PDF, PROPERTY, Font Substitution, TrueType, Device Font
Did you know that you can specify a replacement font for all
reports/labels using the MS San Serif device font when printing to PDF
output?
When printing to the PDF output, the MS Sans Serif device font is
substituted with Helvetica (native PDF font), which is wider than MS
Sans Serif, and may result in characters being truncated.
The substitution logic is true for all device fonts, which is indicated
by a monitor icon in the font drop-down, within the Report Designer's
Format toolbar. MS Sans Serif is in the Swiss font family which are
recognized by variable stroke widths, which are proportional to the
actual widths of the glyphs, and which do not have serifs.
R:BASE has been updated to optionally change the replacement font for
all reports/labels using the MS San Serif device font, or any fonts in
the Swiss font family, when printing to PDF output. Any TrueType font
can be used for the substitution.
The following command may be used at the R:BASE startup to specify a
replacement font:
PROPERTY REPORT PDF_SERIF_FONT_REPLACEMENT 'Arial'
To clear a substitution, use the following command to pass a space as
the font name.
PROPERTY REPORT PDF_SERIF_FONT_REPLACEMENT ' '
Very Best R:egards,
Razzak.
R:BASE Technologies, Inc.
https://www.rbase.com
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rbase-l+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/rbase-l/58318de7-abaf-5da3-92a1-4e6402db9c85%40rbase.com.