Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6799769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:53:16+00:00 2026-05-26T18:53:16+00:00

We have code that writes CGM (or interactive WebCGM) files directly. We have complete

  • 0

We have code that writes CGM (or interactive WebCGM) files directly. We have complete control of all theCGM primitives and can generate version 1, 3 or 4 files as required. In general the CGM we write renders perfectly in the various industry-standard renderers (MetaWeb, SDI, ISoView etc) – these renderers allow us to scale, pan or zoom without defect.

Unfortunatley we have an issue when an end user imports the same files into Framemaker (version 10). The view of the CGM files after initial import is correct. If, however, the user chooses to stretch or shrink the CGM diagram within the page we find that:

  • 1) on shrink – not only is the text font reduced in proportion (as
    expected) but the Character Spacing (CGM class 5, element 13) and the
    Character Expansion Factor (class 5, element 12) also shrink. Overall, the text shrinks out of proportion in the horizontal driection

    2) on expansion – all three of text font, Character Spacing and
    Character Expansion Factor increase – so text that was
    originally confined within a graphical box will now extended considerably
    beyond the right hand margin.

This looks like a bug in Framemaker. However, the end user also has files generated by third parties that do scale correctly. We have copied features of those files – in particular setting:

version to: '1'
scaling mode to: ABSTRACT   
scale to 0   
using Text(class 4, element 4) in place of Restricted Text (class 4, element 5).

We have also experimented with various values for Character Spacing and the Character Expansion Factor (namely 1, 0 and 0.01) without success. Strangely for both these elements the original files contain the value ‘9.0E-44’ which is Hex 0x00 0x00 0x00 0x40. This looks like a ‘secret flag value‘ – but using that in our own files seems to have no effect.

Does anyone know the significance of this flag value and how it should be used?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:53:17+00:00Added an answer on May 26, 2026 at 6:53 pm

    We did actually manage to solve this problem. It does appear that the FrameMaker import is very specific and requires certain hardcoded values for CHARACTER EXPANSION FACTOR and the CHARACTER SPACING.

    What I missed before was that REAL PRECISION was not set to [0][9][23], as it would be to support the well known IEEE float format, but to [1][16][16] – which is an archaic ‘fixed point’ decimal format. Maybe the value Hex 0x00 0x00 0x00 0x40. is a little more meaningful in this encoding (its still a secret flag value of course!)

    Once we did this the files imported successfully FrameMaker – and when they are expanded or contracted then the text behaved exactly as it would do in any other renderer.

    I’m afraid we did not experiment to see if the ‘0x00 0x00 0x00 0x40’, when re-represented as an IEEE value would continue to work if we set the REAL PRECISION back [0][9][23]. We were just so relieved to have found any way around this FrameMaker bug!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code that executes a query and writes it directly to
I have an intermittent problem with some code that writes to a Windows Event
I have a snippet of code that writes the data alphabetically from a database
I have a sample piece of code that writes the value of the xmm6
So I have this code in python that writes some values to a Dictionary
I have my code that reads and writes to a serial port written in
I have some code that writes a file by saving a MemoryStream to a
i have following code in applet that basically writes some data to a file
I already have a code generator based on SQL DMO, that writes the a
I have a packet capture code that writes http payload into a file. Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.