Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Historical PDF layout: 1979 to 1986 layout #1090

Closed
ronaldtse opened this issue Feb 7, 2024 · 5 comments
Closed

Historical PDF layout: 1979 to 1986 layout #1090

ronaldtse opened this issue Feb 7, 2024 · 5 comments
Assignees

Comments

@ronaldtse
Copy link
Contributor

ronaldtse commented Feb 7, 2024

During this period ISO used a "prettier" layout that has a wide header.

These are PDF samples from iTeh that provide a good demonstration of the layout.

ISO-7716-1985.pdf
ISO-5580-1985.pdf
ISO-1765-1986.pdf

Additional samples:
ISO-6600-1980.pdf
ISO-4219-1979.pdf
ISO-18-1981.pdf

@ronaldtse
Copy link
Contributor Author

ronaldtse commented Feb 11, 2024

Here's a full document found on the Internet so we can see how the pages end.

Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 21, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 22, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 22, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Feb 22, 2024
@Intelligent2013
Copy link
Contributor

ISO XSLT updated for the layout.
To enable layout add the document attribute:
:document-scheme: 1972.

@ronaldtse
Copy link
Contributor Author

Oh wow I realized that the fonts used in this layout were different in different years.

The layout change occurred in 1972 to 1978 vs 1979 to 1986. So maybe we should add one "1979" layout.

1972 to 1978 cover heading

Screenshot 2024-03-23 at 10 04 12 AM

1979 to 1986 cover heading

Screenshot 2024-03-23 at 10 03 56 AM

Cover title

1972 to 1978

Screenshot 2024-03-23 at 9 30 44 AM

(The closest free font I found was Boricua Regular.)

Proper font Univers:
Screenshot 2024-03-23 at 9 53 36 AM

The bottom tiny text in English/French doesn't change, it is Univers Pro 55 Roman. At one point the Russian/Cyrillic font changes from serif to sans-serif, but we don't care right now.

Screenshot 2024-03-23 at 10 46 16 AM

1979 to 1986

Screenshot 2024-03-23 at 9 37 34 AM

Font is also Univers:
Screenshot 2024-03-23 at 9 55 57 AM

Title text

ISO 4605-1978

I really can't figure out what the English text is...
The French is unmistakably Univers.

Screenshot 2024-03-23 at 10 26 47 AM

Notice the condensed form of "e" and "ss" (glass, mass). I can't find it in any Univers style...

Still, Univers 65 Bold and Zurich Bold are the closest. The "W" is too wide, and the "ss" and "e" are too wide...

Screenshot 2024-03-23 at 10 42 41 AM Screenshot 2024-03-23 at 10 42 02 AM

ISO 4219-1979

Screenshot 2024-03-23 at 10 23 03 AM

I think it's closest to Univers Pro 65 Bold but preferably a bit less weight...
Screenshot 2024-03-23 at 10 24 46 AM

Body text

1972 to 1978

The body text is exactly the style of the title text... And I can't figure out what it is.

Screenshot 2024-03-23 at 10 59 20 AM

1978 to 1986

Screenshot 2024-03-23 at 10 59 45 AM

Probably the Univers 55 Roman style.
Screenshot 2024-03-23 at 11 01 41 AM

@ronaldtse ronaldtse changed the title Historical PDF layout: 1972 to 1986 layout Historical PDF layout: 1979 to 1986 layout Mar 23, 2024
Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Jul 12, 2024
@Intelligent2013
Copy link
Contributor

To enable layout add the document attribute:
:document-scheme: 1979.

Intelligent2013 added a commit to metanorma/mn-native-pdf that referenced this issue Jul 12, 2024
@Intelligent2013
Copy link
Contributor

ISO XSLT updated to using the font Univers as main font for layout version 1979.
(for testing purposes I used the fonts from https://font.download/font/univers
https://fontsgeek.com/fonts/univers-italic).

We can't add the Univers into metanorma-iso like this:

      def fonts_manifest
        {
          "Cambria" => nil,
          "Cambria Math" => nil,
          "Times New Roman" => nil,
          "Source Han Sans" => nil,
          "Source Han Sans Normal" => nil,
          "Courier New" => nil,
          "Inter" => nil,
          "Univers" => nil,
        }
      end

because the Univers font isn't free and not supported by fontist:

[fontist] 'Univers' font is not supported. Please report this issue at github.com/metanorma/metanorma/issues to report this issue.

So, the end-user is responsible for the purchase and font installation.
The fontist should find the installed font and pass it into the PDF generation via manifest file into mn2pdf. Therefore, we have to set the document attribute for each document with layout 1979:

:fonts: Univers

(https://www.metanorma.org/author/ref/document-attributes/#visual-appearance)
I'll add this info into blog post about ISO historical layouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants