[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

741.0. "How does Document handle Sixel files?" by GNUVAX::LIBRARIAN (Looking at the big sky) Mon Aug 03 1987 16:45

    
    I want to create a figure where two sixel graphics are printed right on
    top of each other. 
    
    I appended two sixel files together, and between them I put an escape
    sequence (<ESC>[30k) to cause a vertical shift on the page. When I
    printed this file by itself everything was just like I wanted, the two
    graphics were superimposed. When I called this file into Document the
    two graphics were printed one above the other (the second one
    overlapped the text that followed the figure). 
    
    Could someone 'in the know' give a thumbnail explaination of how
    Document handles graphics that it calls in, and possibly suggest how I
    might superimpose two images? I know that I can call the two figures
    separately one right after the other in the .SDML file and give a very
    small figurespace for the first to superimpose them, but I would rather
    not do that. 
    
    
    				Lance
T.RTitleUserPersonal
Name
DateLines
741.1It's a change in environmentVAXUUM::DEVRIESM.D. -- your Device DoctorTue Aug 04 1987 13:3228
>    I appended two sixel files together, and between them I put an escape
>    sequence (<ESC>[30k) to cause a vertical shift on the page. 
    
    That sequence says "go back 30 size-units".  Within a DOCUMENT file,
    the size unit is set to "pixel" and position unit mode is enabled.  
    In the standalone context, the size unit is probably "character
    cells".  If you want to continue to use that command as is, you'll
    have to play with select size unit (SSU) command (at least).
    
    
>    Could someone 'in the know' give a thumbnail explaination of how
>    Document handles graphics that it calls in
    
    With LN03 files, the device converter reads the sixel file, throwing
    away everything except SSU, until it finds the device control string
    (DCS) for sixels.  It passes along the SSU, if any, plus the DCS
    as supplied, plus one graphic newline, and copies the rest of the file
    without further inspection.
    
    After the copy is complete, VAX DOCUMENT appends the terminator
    (<ESC>\) and SSU to select the pixel as size-unit.  And when that
    is all done, it will put out absolute-positioning commands to move
    to the place where the text formatter calculated the next text should
    go.  So if your graphic is deeper than you told <FIGURE_FILE> it
    would be, the text may overwrite your graphic.
    
    I hope this helps.
    --Mark
741.2Did the trick!GNUVAX::LIBRARIANLooking at the big skyTue Aug 04 1987 17:2810
    
    Mark,
    
    It did help (a lot). Rather than try and fool around with Size Units,
    I just changed <ESC>[30k to <ESC>[850k to make up for the smaller
    units. It came out just like I wanted. Thanks also for the brief
    explaination of how it works. 
    
    
    				Lance