Skip to main content

An Algorithmic Interpretation of the GKS TEXT Primitive

  • Conference paper
GKS Theory and Practice

Part of the book series: EurographicSeminars ((FOCUS COMPUTER))

  • 53 Accesses

Abstract

The specification of text output is one of the most complex parts of the GKS standard [1]. The text “geometry” is determined by a wide variety of factors: some, such as character height, are specified directly by the user; others, such as the aspect ratio of a character in a given font, are characteristic of a particular implementation. The GKS document gives a detailed, but informal, description of the way in which these various factors combine to determine the text size and position. The purpose of this paper is to put forward a more formal description of the GKS text geometry: an algorithm is presented that calculates the size and positions of individual character bodies for any text string, under any setting of text attributes, together with the text extent rectangle and concatenation point; a realization of the algorithm as a FORTRAN 77 subroutine is also given. It is hoped that the algorithm will help implementos to interpret the GKS standard more easily.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. ISO, “Information Processing — Graphical Kernel System (GKS) — Functional Description,” ISO DIS 7942 (November 1982).

    Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1987 EUROGRAPHICS The European Association for Computer Graphics

About this paper

Cite this paper

Brodlie, K.W., Pfaff, G. (1987). An Algorithmic Interpretation of the GKS TEXT Primitive. In: Bono, P.R., Herman, I. (eds) GKS Theory and Practice. EurographicSeminars. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-72930-0_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-72930-0_10

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-72932-4

  • Online ISBN: 978-3-642-72930-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics