Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining

# 2.4.198 PlotGrowth

Office

The PlotGrowth record specifies the scale factors to use when calculating the font scaling information for a font in the plot area. If no Fbi record exists in the chart sheet where scab is 0x0001, this record is unused and MUST be ignored. Otherwise, the values from each Fbi record where scab is 0x0001 are used in conjunction with values in this record to render the scaled fonts in the plot area.

If the scaled font size matches the font size of the Font record (as specified by Fbi.ifnt and Font.dyHeight), then that Font record is used to render the scaled fonts. If the scaled font size doesn't match the size of the Font record (as specified by Fbi.ifnt), then a new Font record is added to the font table and the following font scaling algorithm is used to determine the scaled font size:

1. Multiply Fbi.twpHeightBasis by dxPlotGrowth; name this twpX.

2. Multiply Fbi.twpHeightBasis by dyPlotGrowth; name this twpY.

3. Take the smaller of twpX and twpY and name this twpNew. If this value is less than 10, set it equal to 10.

4. Round this value to the nearest quarter point.

5. If the value of Fbi.twpHeightBasis is between 160 (inclusive) and 240 (inclusive), and the value of twpNew is between 120 (inclusive) and 160, make twpNew equal to 160. If the value of Fbi.twpHeightBasis is between 160 (inclusive) and 240 (inclusive), and value of twpNew is between 240 and 280 (inclusive), make twpNew equal to 240.

6. twpNew is the new scaled font size. If the dyHeight field of the Font record (as specified by Fbi.ifnt) is the same as the value of twpNew, then load that Font record for the scaled font. If it isn't the same, twpNew is the new scaled font size and a new Font record is added to the font table.

0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

dxPlotGrowth

dyPlotGrowth

dxPlotGrowth (4 bytes): A FixedPoint as specified in [MS-OSHARED] section 2.2.1.6 that specifies the horizontal growth (in points) of the plot area for font scaling.

dyPlotGrowth (4 bytes): A FixedPoint as specified in [MS-OSHARED] section 2.2.1.6 that specifies the vertical growth (in points) of the plot area for font scaling.

Show:
© 2015 Microsoft