Loading ...
Sorry, an error occurred while loading the content.

Re: Copyright symbol styling in PDF

Expand Messages
  • matt_kaatman
    Steven, Worked perfect. Thanks a bunch! Matt
    Message 1 of 3 , Aug 27, 2013
    • 0 Attachment

      Worked perfect.

      Thanks a bunch!

      --- In dita-users@yahoogroups.com, Steven Calderwood <stevenc@...> wrote:
      > Hey, Matt,
      > It is coming from font-mappings.xml. There is a "SymbolsSuperscript" char-set defined in cfg/fo/i18n/en.xml, which contains the copyright, registered trademark, trademark, and service mark symbols. In cfg/fo/font-mappings.xml, there is the following definition for the SymbolsSuperscript char-set:
      > <physical-font char-set="SymbolsSuperscript">
      > <font-face>Helvetica, Arial Unicode MS</font-face>
      > <baseline-shift>20%</baseline-shift>
      > <override-size>smaller</override-size>
      > </physical-font>
      > The shortest path to success would be to remove the copyright symbol from the cfg/fo/i18n/en.xml. While I've tested this and it works, I cannot explain why the font-family is different in the fo element you pasted.
      > Hopefully this helps,
      > Steven
      > --
      > Steven Calderwood
      > Content Management Engineer
      > Human Kinetics
      > 217-351-5076 ext. 7830
      > Direct Line: 217-403-7830
      > stevenc@...<mailto:stevenc@...>
      > From: matt_kaatman <mkaatman@...<mailto:mkaatman@...>>
      > Reply-To: "dita-users@yahoogroups.com<mailto:dita-users@yahoogroups.com>" <dita-users@yahoogroups.com<mailto:dita-users@yahoogroups.com>>
      > Date: Tuesday, August 27, 2013 1:44 PM
      > To: "dita-users@yahoogroups.com<mailto:dita-users@yahoogroups.com>" <dita-users@yahoogroups.com<mailto:dita-users@yahoogroups.com>>
      > Subject: [dita-users] Copyright symbol styling in PDF
      > I feel like I've asked this before but I can't seem to find any reference to it using google.
      > Where does this styling come from? This is the FO generated from the default PDF styles for 1.7.x anytime a © appears in text.
      > <fo:inline line-height="100%" font-family="Times New Roman, Times" baseline-shift="20%" font-size="smaller">©</fo:inline>
      > According to the powers that be, it isn't supposed to be smaller or shifted.
      > I'm grepping for "smaller" in plugins/org.dita.pdf2/*.xsl and coming up empty.
    Your message has been successfully submitted and would be delivered to recipients shortly.