Bullet list lose formatting with body font change

Comments

4 comments

  • Avatar
    Stefan Kleineikenscheidt

    Hi Andrew,

    I've tried to reproduce this (using the Cambria font provided by Windows):
    https://img.skitch.com/20120611-k8du6a3fcqixky1q2gt4syebg4.png

    Did you upload it via the "Resources" tab or via the "Fonts" tab? (You should use the "Font" tab).

    Let me know, if that works.

    Cheers,
    -Stefan

    0
    Comment actions Permalink
  • Avatar
    Andrew Eccles

    Hi Stefan,

    Thanks for the prompt reply. I did upload via the "Fonts' tab. However - I'm using a Mac - not Windows - not sure if this has any bearing. I'll include my content formatting here which might help in diagnosing the problem.

    /* Enable heading numbering */
    @import url('css/common-heading-numbering.css') print;

    /* Enable toc numbering */
    @import url('css/common-toc-numbering.css') print;

    /* Generate border between header/footer and page content */
    @page {
      border-top: 4px solid yellow;
      border-bottom: 4px solid yellow;
    }

    /* nested list definition*/

    /* Level 1: decimal numbers */
    .content ol {
       list-style-type: decimal;
    }
    /* Level 2: lowercase letters */
    .content ol ol {
       list-style-type: lower-alpha;
    }
    /* Level 3: lowercase roman numbers */
    .content ol ol ol {
       list-style-type: lower-roman;
    }

    /* Use Cambria font for the complete document */
    body {
    font-family: "Cambria" cambria;
    }

    strong {
    font-family: "Cambria Bold" cambria bold;
        font-weight: bold;
    }


    /* Use Calibri font for just for h1 */
    h1 {
    font-family: "Calibri" Calibri;
    font-weight: bold;
    }

    /* Export on title page */
    div.titlepage {
      position: relative;
      min-height: 220mm;
    }
    div.titlepage .static {
      position: absolute;
      bottom: 0;
    }

    .titlepage .exportinfo {
      padding: 2mm 5mm;
      background-color: #eeeeee;
    }

    .titlepage .exportinfo strong {
      width: 20mm;
      display: block;
      float: left;
    }

    0
    Comment actions Permalink
  • Avatar
    Andrew Eccles

    Hi - As you pointed me in the direction of fonts - I thought I'd try and use another body font - "Times New Roman". Which I did and this resolved the issue. Therefore it must be something to do specifically with the Cambria font. I'll just substitute this with a similar font.

    If you manage to find the issue with the Apple Cambria font - let me know - however I'll be fine with a substitution for now.

    Thanks for your help - your pointers got me in the right direction for resolving this issue.

    Cheers,

    Andrew

    0
    Comment actions Permalink
  • Avatar
    Stefan Kleineikenscheidt

    Hi Andrew,

    glad you figured it out. Btw: Yes, I have been using the font files shipped with Windows.

    Cheers,
    -Stefan

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk