Skip to content

Commit

Permalink
Merge pull request #23475 from mathesoncalum/copyright_pagenumber_tex…
Browse files Browse the repository at this point in the history
…tstyles

Copyright and page number text styles (#23325)
  • Loading branch information
mathesoncalum authored Jul 18, 2024
2 parents ef55c94 + 7809a5e commit 79264e9
Show file tree
Hide file tree
Showing 76 changed files with 528 additions and 36 deletions.
2 changes: 2 additions & 0 deletions src/engraving/api/v1/apitypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,8 @@ enum class Tid {
INSTRUMENT_CHANGE = int(mu::engraving::TextStyleType::INSTRUMENT_CHANGE),
HEADER = int(mu::engraving::TextStyleType::HEADER),
FOOTER = int(mu::engraving::TextStyleType::FOOTER),
COPYRIGHT = int(mu::engraving::TextStyleType::COPYRIGHT),
PAGE_NUMBER = int(mu::engraving::TextStyleType::PAGE_NUMBER)
};
Q_ENUM_NS(Tid);

Expand Down
25 changes: 25 additions & 0 deletions src/engraving/data/styles/legacy-style-defaults-v1.mss
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,31 @@
<footerFrameRound>0</footerFrameRound>
<footerFrameFgColor r="0" g="0" b="0" a="255"/>
<footerFrameBgColor r="255" g="255" b="255" a="0"/>
<copyrightFontFace>FreeSerif</copyrightFontFace>
<copyrightFontSize>8</copyrightFontSize>
<copyrightFontSpatiumDependent>0</copyrightFontSpatiumDependent>
<copyrightFontStyle>0</copyrightFontStyle>
<copyrightColor r="0" g="0" b="0" a="255"/>
<copyrightOffset x="0" y="5"/>
<copyrightFrameType>0</copyrightFrameType>
<copyrightFramePadding>0.2</copyrightFramePadding>
<copyrightFrameWidth>0.1</copyrightFrameWidth>
<copyrightFrameRound>0</copyrightFrameRound>
<copyrightFrameFgColor r="0" g="0" b="0" a="255"/>
<copyrightFrameBgColor r="255" g="255" b="255" a="0"/>
<pageNumberFontFace>FreeSerif</pageNumberFontFace>
<pageNumberFontSize>8</pageNumberFontSize>
<pageNumberFontSpatiumDependent>0</pageNumberFontSpatiumDependent>
<pageNumberFontStyle>0</pageNumberFontStyle>
<pageNumberAlign>center,bottom</pageNumberAlign>
<pageNumberColor r="0" g="0" b="0" a="255"/>
<pageNumberOffset x="0" y="5"/>
<pageNumberFrameType>0</pageNumberFrameType>
<pageNumberFramePadding>0.2</pageNumberFramePadding>
<pageNumberFrameWidth>0.1</pageNumberFrameWidth>
<pageNumberFrameRound>0</pageNumberFrameRound>
<pageNumberFrameFgColor r="0" g="0" b="0" a="255"/>
<pageNumberFrameBgColor r="255" g="255" b="255" a="0"/>
<instrumentChangeFontFace>FreeSerif</instrumentChangeFontFace>
<instrumentChangeFontSize>12</instrumentChangeFontSize>
<instrumentChangeFontSpatiumDependent>1</instrumentChangeFontSpatiumDependent>
Expand Down
25 changes: 25 additions & 0 deletions src/engraving/data/styles/legacy-style-defaults-v2.mss
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,31 @@
<footerFrameRound>0</footerFrameRound>
<footerFrameFgColor r="0" g="0" b="0" a="255"/>
<footerFrameBgColor r="255" g="255" b="255" a="0"/>
<copyrightFontFace>FreeSerif</copyrightFontFace>
<copyrightFontSize>8</copyrightFontSize>
<copyrightFontSpatiumDependent>0</copyrightFontSpatiumDependent>
<copyrightFontStyle>0</copyrightFontStyle>
<copyrightColor r="0" g="0" b="0" a="255"/>
<copyrightOffset x="0" y="5"/>
<copyrightFrameType>0</copyrightFrameType>
<copyrightFramePadding>0.2</copyrightFramePadding>
<copyrightFrameWidth>0.1</copyrightFrameWidth>
<copyrightFrameRound>0</copyrightFrameRound>
<copyrightFrameFgColor r="0" g="0" b="0" a="255"/>
<copyrightFrameBgColor r="255" g="255" b="255" a="0"/>
<pageNumberFontFace>FreeSerif</pageNumberFontFace>
<pageNumberFontSize>8</pageNumberFontSize>
<pageNumberFontSpatiumDependent>0</pageNumberFontSpatiumDependent>
<pageNumberFontStyle>0</pageNumberFontStyle>
<pageNumberAlign>center,bottom</pageNumberAlign>
<pageNumberColor r="0" g="0" b="0" a="255"/>
<pageNumberOffset x="0" y="5"/>
<pageNumberFrameType>0</pageNumberFrameType>
<pageNumberFramePadding>0.2</pageNumberFramePadding>
<pageNumberFrameWidth>0.1</pageNumberFrameWidth>
<pageNumberFrameRound>0</pageNumberFrameRound>
<pageNumberFrameFgColor r="0" g="0" b="0" a="255"/>
<pageNumberFrameBgColor r="255" g="255" b="255" a="0"/>
<instrumentChangeFontFace>FreeSerif</instrumentChangeFontFace>
<instrumentChangeFontSize>12</instrumentChangeFontSize>
<instrumentChangeFontSpatiumDependent>1</instrumentChangeFontSpatiumDependent>
Expand Down
25 changes: 25 additions & 0 deletions src/engraving/data/styles/legacy-style-defaults-v3.mss
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,31 @@
<footerFrameRound>0</footerFrameRound>
<footerFrameFgColor r="0" g="0" b="0" a="255"/>
<footerFrameBgColor r="255" g="255" b="255" a="0"/>
<copyrightFontFace>FreeSerif</copyrightFontFace>
<copyrightFontSize>8</copyrightFontSize>
<copyrightFontSpatiumDependent>0</copyrightFontSpatiumDependent>
<copyrightFontStyle>0</copyrightFontStyle>
<copyrightColor r="0" g="0" b="0" a="255"/>
<copyrightOffset x="0" y="5"/>
<copyrightFrameType>0</copyrightFrameType>
<copyrightFramePadding>0.2</copyrightFramePadding>
<copyrightFrameWidth>0.1</copyrightFrameWidth>
<copyrightFrameRound>0</copyrightFrameRound>
<copyrightFrameFgColor r="0" g="0" b="0" a="255"/>
<copyrightFrameBgColor r="255" g="255" b="255" a="0"/>
<pageNumberFontFace>FreeSerif</pageNumberFontFace>
<pageNumberFontSize>8</pageNumberFontSize>
<pageNumberFontSpatiumDependent>0</pageNumberFontSpatiumDependent>
<pageNumberFontStyle>0</pageNumberFontStyle>
<pageNumberAlign>center,bottom</pageNumberAlign>
<pageNumberColor r="0" g="0" b="0" a="255"/>
<pageNumberOffset x="0" y="5"/>
<pageNumberFrameType>0</pageNumberFrameType>
<pageNumberFramePadding>0.2</pageNumberFramePadding>
<pageNumberFrameWidth>0.1</pageNumberFrameWidth>
<pageNumberFrameRound>0</pageNumberFrameRound>
<pageNumberFrameFgColor r="0" g="0" b="0" a="255"/>
<pageNumberFrameBgColor r="255" g="255" b="255" a="0"/>
<instrumentChangeFontFace>FreeSerif</instrumentChangeFontFace>
<instrumentChangeFontSize>12</instrumentChangeFontSize>
<instrumentChangeFontSpatiumDependent>1</instrumentChangeFontSpatiumDependent>
Expand Down
28 changes: 28 additions & 0 deletions src/engraving/data/styles/legacy-style-defaults-v302.mss
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,34 @@
<footerFrameRound>0</footerFrameRound>
<footerFrameFgColor r="0" g="0" b="0" a="255"/>
<footerFrameBgColor r="255" g="255" b="255" a="0"/>
<copyrightFontFace>Edwin</copyrightFontFace>
<copyrightFontSize>9</copyrightFontSize>
<copyrightLineSpacing>1</copyrightLineSpacing>
<copyrightFontSpatiumDependent>0</copyrightFontSpatiumDependent>
<copyrightFontStyle>0</copyrightFontStyle>
<copyrightColor r="0" g="0" b="0" a="255"/>
<copyrightAlign>center,center</copyrightAlign>
<copyrightOffset x="0" y="5"/>
<copyrightFrameType>0</copyrightFrameType>
<copyrightFramePadding>0.2</copyrightFramePadding>
<copyrightFrameWidth>0.1</copyrightFrameWidth>
<copyrightFrameRound>0</copyrightFrameRound>
<copyrightFrameFgColor r="0" g="0" b="0" a="255"/>
<copyrightFrameBgColor r="255" g="255" b="255" a="0"/>
<pageNumberFontFace>Edwin</pageNumberFontFace>
<pageNumberFontSize>11</pageNumberFontSize>
<pageNumberLineSpacing>1</pageNumberLineSpacing>
<pageNumberFontSpatiumDependent>0</pageNumberFontSpatiumDependent>
<pageNumberFontStyle>1</pageNumberFontStyle>
<pageNumberColor r="0" g="0" b="0" a="255"/>
<pageNumberAlign>center,center</pageNumberAlign>
<pageNumberOffset x="0" y="0"/>
<pageNumberFrameType>0</pageNumberFrameType>
<pageNumberFramePadding>0.2</pageNumberFramePadding>
<pageNumberFrameWidth>0.1</pageNumberFrameWidth>
<pageNumberFrameRound>0</pageNumberFrameRound>
<pageNumberFrameFgColor r="0" g="0" b="0" a="255"/>
<pageNumberFrameBgColor r="255" g="255" b="255" a="0"/>
<instrumentChangeFontFace>Edwin</instrumentChangeFontFace>
<instrumentChangeFontSize>10</instrumentChangeFontSize>
<instrumentChangeLineSpacing>1</instrumentChangeLineSpacing>
Expand Down
Loading

0 comments on commit 79264e9

Please sign in to comment.