altoxml / schema

ALTO XML schema - latest and all former versions
51 stars 4 forks source link

Should FONTSIZE be optional? #64

Closed chris1010010 closed 4 years ago

chris1010010 commented 5 years ago

At the moment FONTSIZE in TextStyle is required. If the font size is not available, no other style attributes can be used. Is that by design? For example, it is not possible to store FONTCOLOR unless also FONTSIZE is provided.

urieli commented 5 years ago

I fully agree that this should be optional. Especially since it is sometimes impossible to know the font size: if the image has no DPI associated, there is no way to know what the printed font size is.

artunit commented 4 years ago

Thanks for raising this - I have put it on the agenda for the upcoming 2019-12-13 Board meeting.

artunit commented 4 years ago

As per the 2019-12-13 Board meeting, it is proposed to change FONTSIZE from required to optional, i.e.:

<xsd:attribute name="FONTSIZE" type="xsd:float" use="required">
  <xsd:annotation>
    <xsd:documentation>The font size, in points (1/72 of an inch).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>

to:

<xsd:attribute name="FONTSIZE" type="xsd:float" use="optional">
  <xsd:annotation>
    <xsd:documentation>The font size, in points (1/72 of an inch).</xsd:documentation>
  </xsd:annotation>
</xsd:attribute>
artunit commented 4 years ago

ACCEPT

cipriandinu commented 4 years ago

ACCEPT

splet commented 4 years ago

ACCEPT

cneud commented 4 years ago

ACCEPT

Ra1phM commented 4 years ago

ACCEPT

ntra00 commented 4 years ago

ACCEPT

bkgeig commented 4 years ago

ACCEPT

cowboyMontana commented 4 years ago

ACCEPT

jukervin commented 4 years ago

ACCEPT

rajubln commented 4 years ago

ACCEPT

artunit commented 4 years ago

Added in v4.2, released August 2020.