Skip to main content
1-Visitor
April 7, 2011
Question

S1000D Logotype dimensions

  • April 7, 2011
  • 6 replies
  • 3864 views
Hi,



Does anyone know what the pixel dimensions are (L x W) for a Logotype in
the header of an S1000D document? I took a look in the spec but it
doesn't seem to mention it anywhere apart from a vague reference to a 32
mm or 50 mm width in the header, Chap 6.2.1. Graphics can apparently be
a minimum of 300 dpi.



Greg

J

    6 replies

    1-Visitor
    April 7, 2011
    Hi All,



    I guess I'm not patient. After some trial and error I scoped this out.
    The logotype has to be 710 pixels wide by 110 pixels high. Although all
    I want is a flag, to make it proportional, it occupies only a part of
    the total image area.



    Greg


    1-Visitor
    April 8, 2011
    Hello Greg,



    You are unlucky - max height size of logo in pixels is 24 pixels (look
    attached slide). Ma? width of logo can be 30mm max, it does not satisfy to
    ASD standart which requires 50mm in width. I created a call to PTC with
    request and even SPR
    <">https://www.ptc.com/appserver/cs/view/spr.jsp?n=1969288> 1969288 has been
    1-Visitor
    April 11, 2011
    Hi Alexander,



    I noticed that too, I thought, ok, I can do that. However, like you I noticed that a logo which is 24 pixels high doesn't seem adequate for most uses or agree with the spec. The S1000D specification gives examples of a couple of different widths and the page header is 15 to 17 mm high and the logo can be between 32 and 50 mm wide, Chap 6.2.1 figures 6, 7, and 8. I make a potential logos to be 50 x 17 mm (142 x 48 pixels), or 50 x 15 mm (142 x 43 pixels), or 32 x 15 mm (91 x 43 pixels). Graphics in S1000D are also to be a minimum of 300 DPI according to the spec.



    I thought my 24 pixel high graphic didn't quite look right. It looked stretched to fit and distorted.



    So, I did find another way of working with a logo in the markup of a Data Module but initially I ran into trouble figuring out what size it should be hence my previous post. In the markup of each Data Module I found you can specify a logo after security:



    <dmstatus issuetype="new">

    <security securityclassification="01"/">

    <logo>

    <symbol id="ACQDS-IDAR3TTE" infoentityident="ICN-PLUTO-A-000000-A-00000-00066-A-01-1"/">

    </logo>



    I tried a couple of things using the markup, but I had the same problem as with my 24 pixel logo. The logo gets stretched to fit within a defined space, and since it had some text, it got pretty ugly:







    I noticed that the S1000D logo as printed in the spec is fairly large, approximately 42 x 15 mm, and it looks decent, it seems at odds with the 24 pixel definition.







    I exported the page of the PDF to jpeg and measured the output of one of my distorted logos in Photoshop. I noticed it was 60.11 x 9.31 mm, 710 x 110 pixels. So I think the logo has to fit a particular size. If I want my flag to appear it has to be left justified in the "white space" , please see my "test_logo.jpg" attachment which is a mock up. After the test I got a reasonably good flag logo in my PDF output.







    However, I have yet to try the dimensions that the spec say's the logo should actually be. Have you tried this markup?



    Greg


    1-Visitor
    April 11, 2011
    Here's what the "test_logo,jpg" looks like printed to pdf, I changed the white background to lime green:





    I make it to be:








    1-Visitor
    April 12, 2011
    Hi All,

    I am having one stylesheet with me which mention the path for atribute

    attrValueXPath="/manual/yearly-cost/range/start/@actual-indent"

    Please Can anybody explain me significance of attrValueXPath?




    Thanks & Regards,
    Manisha
    18-Opal
    April 13, 2011
    Hi Manisha-



    This basically means that for that style, there's a test on an
    attribute, where the attribute value to be tested is found using the
    XPath expression given in the attrValueXPath. An XPath expression lets
    you check information located in another part of the document from the
    part that you're currently processing. In this specific example, it is
    looking for a structure like this in the document:



    <manual> (top level element)

    (maybe some additional elements here...)

    <yearly-cost>

    (ditto)

    <range>

    (ditto)

    <start actual-indent="xxx">...</start>



    The "xxx" is the value being tested here.



    XPath is very powerful way of describing locations for information in an
    XML document. As such, it can be complex to learn, especially when you
    start using predicates to add conditions to the selection (i.e. stuff
    inside square brackets).



    If you want to learn more about XPath, this is a good place to start: