Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Opening title card: text as typed, and six more fonts (#11213)
[._.]/9715b97348d7
diff --git a/client/public/fonts/title-card/LICENSE-Archivo.txt b/client/public/fonts/title-card/LICENSE-Archivo.txtnew file mode 100644index 0000000000..78b74533d0--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Archivo.txt@@ -0,0 +1,93 @@+Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo) Archivo-Italic[wdth,wght].ttf: Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Audiowide.txt b/client/public/fonts/title-card/LICENSE-Audiowide.txtnew file mode 100644index 0000000000..24345a0fe7--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Audiowide.txt@@ -0,0 +1,93 @@+Copyright (c) 2012 by Brian J. Bonislawsky DBA Astigmatic (AOETI) ([email protected]), with Reserved Font Name "Audiowide"++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-IBM-Plex.txt b/client/public/fonts/title-card/LICENSE-IBM-Plex.txtnew file mode 100644index 0000000000..01497cc60d--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-IBM-Plex.txt@@ -0,0 +1,93 @@+Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"++This Font Software is licensed under the SIL Open Font License, Version 1.1.++This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Orbitron.txt b/client/public/fonts/title-card/LICENSE-Orbitron.txtnew file mode 100644index 0000000000..2919e8f94d--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Orbitron.txt@@ -0,0 +1,93 @@+Copyright 2018 The Orbitron Project Authors (https://github.com/theleagueof/orbitron)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Oswald.txt b/client/public/fonts/title-card/LICENSE-Oswald.txtnew file mode 100644index 0000000000..76a02175db--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Oswald.txt@@ -0,0 +1,93 @@+Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Pacifico.txt b/client/public/fonts/title-card/LICENSE-Pacifico.txtnew file mode 100644index 0000000000..c2787420a3--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Pacifico.txt@@ -0,0 +1,93 @@+Copyright 2018 The Pacifico Project Authors (https://github.com/googlefonts/Pacifico)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Playfair-Display.txt b/client/public/fonts/title-card/LICENSE-Playfair-Display.txtnew file mode 100644index 0000000000..574d79fbd4--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Playfair-Display.txt@@ -0,0 +1,93 @@+Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display". PlayfairDisplay-Italic[wght].ttf: Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display".++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/LICENSE-Righteous.txt b/client/public/fonts/title-card/LICENSE-Righteous.txtnew file mode 100644index 0000000000..de77114f2c--- /dev/null+++ b/client/public/fonts/title-card/LICENSE-Righteous.txt@@ -0,0 +1,93 @@+Copyright (c) 2011 by Brian J. Bonislawsky DBA Astigmatic (AOETI) ([email protected]), with Reserved Font Name "Righteous"++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/client/public/fonts/title-card/archivo-variable.woff2 b/client/public/fonts/title-card/archivo-variable.woff2new file mode 100644index 0000000000..e2448d0561Binary files /dev/null and b/client/public/fonts/title-card/archivo-variable.woff2 differdiff --git a/client/public/fonts/title-card/audiowide-400.woff2 b/client/public/fonts/title-card/audiowide-400.woff2new file mode 100644index 0000000000..adde2d4443Binary files /dev/null and b/client/public/fonts/title-card/audiowide-400.woff2 differdiff --git a/client/public/fonts/title-card/ibm-plex-mono-500.woff2 b/client/public/fonts/title-card/ibm-plex-mono-500.woff2new file mode 100644index 0000000000..090f82f7ecBinary files /dev/null and b/client/public/fonts/title-card/ibm-plex-mono-500.woff2 differdiff --git a/client/public/fonts/title-card/orbitron-700.woff2 b/client/public/fonts/title-card/orbitron-700.woff2new file mode 100644index 0000000000..46db8ddaa0Binary files /dev/null and b/client/public/fonts/title-card/orbitron-700.woff2 differdiff --git a/client/public/fonts/title-card/oswald-700.woff2 b/client/public/fonts/title-card/oswald-700.woff2new file mode 100644index 0000000000..e1290c1e8cBinary files /dev/null and b/client/public/fonts/title-card/oswald-700.woff2 differdiff --git a/client/public/fonts/title-card/pacifico-400.woff2 b/client/public/fonts/title-card/pacifico-400.woff2new file mode 100644index 0000000000..4bffc9ce89Binary files /dev/null and b/client/public/fonts/title-card/pacifico-400.woff2 differdiff --git a/client/public/fonts/title-card/playfair-display-700.woff2 b/client/public/fonts/title-card/playfair-display-700.woff2new file mode 100644index 0000000000..39eefe0333Binary files /dev/null and b/client/public/fonts/title-card/playfair-display-700.woff2 differdiff --git a/client/public/fonts/title-card/righteous-400.woff2 b/client/public/fonts/title-card/righteous-400.woff2new file mode 100644index 0000000000..a92082f829Binary files /dev/null and b/client/public/fonts/title-card/righteous-400.woff2 differdiff --git a/client/src/components/musicVideo/TitleCardPanel.jsx b/client/src/components/musicVideo/TitleCardPanel.jsxindex d3df5997c8..2cba963740 100644--- a/client/src/components/musicVideo/TitleCardPanel.jsx+++ b/client/src/components/musicVideo/TitleCardPanel.jsx@@ -1,12 +1,35 @@-import { useState } from 'react';+import { useEffect, useState } from 'react';import { Clapperboard, Play } from 'lucide-react';import { getMusicVideoPublishPlatforms } from '../../services/apiMusicVideo.js';import {- TITLE_CARD_LIMITS, TITLE_CARD_MTV_COLORS, normalizeTitleCard, titleCardPrefill,+ TITLE_CARD_FONT_FACES, TITLE_CARD_LIMITS, TITLE_CARD_MTV_COLORS, normalizeTitleCard, titleCardPrefill,} from '../../../../server/lib/musicVideoTitleCard.js';const POSITIONS = [['lower-left', 'Bottom left'], ['lower-right', 'Bottom right'], ['upper-left', 'Top left'], ['upper-right', 'Top right'], ['lower-center', 'Bottom centre'], ['center', 'Centre']];-const FONTS = [['display', 'Lyric type'], ['sans', 'Helvetica'], ['serif', 'Serif'], ['mono', 'Mono']];++// Each choice: [id, label, the face the card draws it in, its file under /fonts/title-card/ for the picker swatch, weight].+// The files are copies of the server's (titleCardFonts/, documentTemplates/shared/fonts/); a server test keeps them identical.+const FONTS = [+ ['display', 'Lyric type', '"MV Archivo", "Arial Black", sans-serif', 'archivo-variable.woff2', 800],+ ['sans', 'Helvetica', '"Helvetica Neue", Helvetica, Arial, sans-serif', null, 700],+ ['serif', 'Serif', 'Georgia, "Times New Roman", serif', null, 700],+ ['mono', 'Mono', '"MV Mono", Menlo, monospace', 'ibm-plex-mono-500.woff2', 500],+ ['oswald', 'Oswald', `"${TITLE_CARD_FONT_FACES.oswald.family}", "Arial Narrow", sans-serif`, 'oswald-700.woff2', 700],+ ['audiowide', 'Audiowide', `"${TITLE_CARD_FONT_FACES.audiowide.family}", sans-serif`, 'audiowide-400.woff2', 400],+ ['orbitron', 'Orbitron', `"${TITLE_CARD_FONT_FACES.orbitron.family}", sans-serif`, 'orbitron-700.woff2', 700],+ ['righteous', 'Righteous', `"${TITLE_CARD_FONT_FACES.righteous.family}", sans-serif`, 'righteous-400.woff2', 400],+ ['pacifico', 'Pacifico', `"${TITLE_CARD_FONT_FACES.pacifico.family}", cursive`, 'pacifico-400.woff2', 400],+ ['playfair', 'Playfair', `"${TITLE_CARD_FONT_FACES.playfair.family}", Georgia, serif`, 'playfair-display-700.woff2', 700],+];+let swatchFacesAdded = false;+// The picker shows each choice in its own face: register the bundled files once per page.+function addSwatchFaces() {+ if (swatchFacesAdded || typeof FontFace !== 'function' || !document.fonts?.add) return;+ swatchFacesAdded = true;+ for (const [, , stack, file] of FONTS) {+ if (file) document.fonts.add(new FontFace(stack.match(/^"([^"]+)"/)[1], `url(/fonts/title-card/${file})`, { weight: '100 900' }));+ }+}const LOOKS = [['outline', 'Outlined, like the lyrics'], ['mtv', 'Classic MTV lower third']];// Render styles that draw the card: the composition document and a composed cut's typography layer.const DRAWN_BY = ['document', 'composed'];@@ -37,6 +60,7 @@ function lyricDuringCard(project, card) {*/export default function TitleCardPanel({ project, onEditLocal, onSave, onPreview, bare = false }) {const [starting, setStarting] = useState(false);+ useEffect(addSwatchFaces, []);const drawn = DRAWN_BY.includes(project.composition?.mode);const raw = project.titleCard || null;const card = normalizeTitleCard(raw);@@ -129,18 +153,22 @@ export default function TitleCardPanel({ project, onEditLocal, onSave, onPreview{LOOKS.map(([value, label]) => <option key={value} value={value}>{label}</option>)}</select></div>- <div className="grid grid-cols-2 gap-2">- <div>- <label htmlFor="mv-title-card-position" className={labelCls}>Position</label>- <select id="mv-title-card-position" value={card.position} onChange={(e) => commit({ position: e.target.value })} className={inputCls}>- {POSITIONS.map(([value, label]) => <option key={value} value={value}>{label}</option>)}- </select>- </div>- <div>- <label htmlFor="mv-title-card-font" className={labelCls}>Font</label>- <select id="mv-title-card-font" value={card.font} onChange={(e) => commit({ font: e.target.value })} className={inputCls}>- {FONTS.map(([value, label]) => <option key={value} value={value}>{label}</option>)}- </select>+ <div>+ <label htmlFor="mv-title-card-position" className={labelCls}>Position</label>+ <select id="mv-title-card-position" value={card.position} onChange={(e) => commit({ position: e.target.value })} className={inputCls}>+ {POSITIONS.map(([value, label]) => <option key={value} value={value}>{label}</option>)}+ </select>+ </div>+ <div role="radiogroup" aria-labelledby="mv-title-card-font-label">+ <span id="mv-title-card-font-label" className={labelCls}>Font</span>+ <div className="grid grid-cols-2 gap-1.5 sm:grid-cols-5">+ {FONTS.map(([value, label, stack, , weight]) => (+ <button key={value} type="button" role="radio" aria-checked={card.font === value} onClick={() => commit({ font: value })}+ style={{ fontFamily: stack, fontWeight: weight }}+ className={`min-h-[44px] truncate rounded border px-2 py-1 text-sm sm:min-h-0 ${card.font === value ? 'border-port-accent bg-port-accent/15 text-white' : 'border-port-border bg-port-bg text-port-text-muted'}`}>+ {label}+ </button>+ ))}</div></div><div className="flex flex-wrap items-end gap-x-4 gap-y-2">diff --git a/client/src/components/musicVideo/TitleCardPanel.test.jsx b/client/src/components/musicVideo/TitleCardPanel.test.jsxindex 06f2c81aaa..e77306e085 100644--- a/client/src/components/musicVideo/TitleCardPanel.test.jsx+++ b/client/src/components/musicVideo/TitleCardPanel.test.jsx@@ -73,4 +73,14 @@ describe('TitleCardPanel', () => {expect(onSave).toHaveBeenLastCalledWith({ titleCard: expect.objectContaining({ style: 'mtv', title: 'Example Song' }) });expect(screen.getByLabelText('Bar')).toBeInTheDocument();});++ it('picks a font from swatches drawn in each face', () => {+ const onSave = vi.fn().mockResolvedValue({});+ render(<Harness initial={{ ...base, titleCard: { enabled: true, title: 'Example Song', startSec: 1, endSec: 5 } }} onSave={onSave} />);+ const pacifico = screen.getByRole('radio', { name: 'Pacifico' });+ expect(pacifico.style.fontFamily).toContain('MV Title Pacifico');+ fireEvent.click(pacifico);+ expect(onSave).toHaveBeenLastCalledWith({ titleCard: expect.objectContaining({ font: 'pacifico' }) });+ expect(screen.getByRole('radio', { name: 'Pacifico' })).toHaveAttribute('aria-checked', 'true');+ });});diff --git a/docs/HTML_COMPOSITIONS.md b/docs/HTML_COMPOSITIONS.mdindex fb5f0172d9..dc5f26a073 100644--- a/docs/HTML_COMPOSITIONS.md+++ b/docs/HTML_COMPOSITIONS.md@@ -330,8 +330,12 @@ validated by `musicVideoTitleCardSchema`, normalized by `normalizeTitleCard` intext). Turning it on fills the song title (the project name without its versionsuffix), the artist named for DistroKid under Where you post, this year, and awindow that ends half a second before the first sung line. Timing (in, out,-fade), position (four corners, bottom centre, centre), font (the lyric type's-Archivo, Helvetica, serif, Plex Mono), size, look and colors are all editable;+fade), position (four corners, bottom centre, centre), font, size, look and+colors are all editable. Fonts are the lyric type's Archivo, Helvetica, serif,+Plex Mono, and six bundled OFL faces (`TITLE_CARD_FONT_FACES`: Oswald,+Audiowide, Orbitron, Righteous, Pacifico, Playfair Display, files and licences+in `server/services/musicVideo/titleCardFonts/`), picked from swatches drawn in+each face. Text is drawn exactly as typed;the panel flags a sung line that starts while the card is up and offers to end thecard before it.@@ -339,11 +343,12 @@ The card is not part of the composition document. `titleCardRuntimeSource()`is a page script installed beside it, in the live preview's head (live editsarrive as `portos-mv:title-card` messages) and in every render browser(`documentRenderInitScripts`). It draws on its own canvas fixed over the page,-fitted to the render's aspect, and wraps `portosComposition.seek()` (chaining+fitted to the render's aspect, registers the bundled faces from data URLs+embedded in the script (`services/musicVideo/titleCardFonts.js`, so every page+draws the same face whatever it declares itself), and wraps `portosComposition.seek()` (chainingthe film look's wrapper) so the card is drawn for each frame after its facesload. It has two looks (`style`). `outline` follows the lyric type: cream fill, ink-outline, no plate. `mtv` is the classic lower third: the artist in bold caps-over the title, on a dark translucent plate with a colored bar on its leading+outline, no plate. `mtv` is the classic lower third: the artist over the title, on a dark translucent plate with a colored bar on its leadingedge (`accentColor`, cyan by default) and the title in `titleColor` (yellow bydefault). Both sit inside the same title-safe insets, and a block wider thanits zone shrinks rather than running off frame. Like the lyrics it sits under the film look. It also ridesdiff --git a/server/lib/musicVideoTitleCard.browser.test.js b/server/lib/musicVideoTitleCard.browser.test.jsindex 1ad296130d..fc6f097e8c 100644--- a/server/lib/musicVideoTitleCard.browser.test.js+++ b/server/lib/musicVideoTitleCard.browser.test.js@@ -1,10 +1,10 @@import { afterAll, beforeAll, describe, expect, it } from 'vitest';-import { existsSync } from 'node:fs';+import { existsSync, readFileSync } from 'node:fs';import { chromium } from 'playwright-core';import sharp from 'sharp';import { browserSuiteCanRun } from './browserSuiteGate.js';import { filmLookRuntimeSource } from './filmLook.js';-import { titleCardRuntimeSource } from './musicVideoTitleCard.js';+import { TITLE_CARD_FONT_FACES, titleCardRuntimeSource } from './musicVideoTitleCard.js';/*** The title card runtime in real Chrome, installed the way the preview and the@@ -88,10 +88,10 @@ describe.skipIf(!canRun)('title card runtime in Chrome', () => {expect(long).toBeLessThanOrEqual(W * 0.62 + 0.5);}, 30000);- it('draws the classic MTV lower third: artist in caps over a yellow title, on a dark plate with a coloured bar', async () => {+ it('draws the classic MTV lower third: the artist as typed over a yellow title, on a dark plate with a coloured bar', async () => {await page.evaluate(() => globalThis.__portosTitleCard.apply({ ...globalThis.__portosTitleCard.card, style: 'mtv', position: 'lower-left', titleColor: '', accentColor: '#00ff00' }));const lines = await page.evaluate(() => globalThis.__portosTitleCard.layout());- expect(lines.map((l) => l.text)).toEqual(['EXAMPLE ARTIST', '“Example Song”', '2026']);+ expect(lines.map((l) => l.text)).toEqual(['Example Artist', '“Example Song”', '2026']);expect(lines[1].fill).toBe('#f5d33a');expect(lines.every((l) => l.outline === 0)).toBe(true);const shot = await shotAt(5);@@ -111,6 +111,19 @@ describe.skipIf(!canRun)('title card runtime in Chrome', () => {expect(errors).toEqual([]);}, 30000);+ it('draws a bundled face it was handed, on a page that declares none', async () => {+ const { family, file } = TITLE_CARD_FONT_FACES.pacifico;+ const src = `data:font/woff2;base64,${readFileSync(new URL(`../services/musicVideo/titleCardFonts/${file}`, import.meta.url)).toString('base64')}`;+ const other = await browser.newPage({ viewport: { width: W, height: H } });+ const card = { title: 'Example Song', artist: 'Example Artist', startSec: 0, endSec: 8, font: 'pacifico' };+ await other.setContent(`<!doctype html><html><head><script>${titleCardRuntimeSource(card, { fonts: { [family]: src } })}</script></head><body></body></html>`);+ await other.evaluate(() => globalThis.__portosTitleCard.apply(globalThis.__portosTitleCard.card));+ const lines = await other.evaluate(() => globalThis.__portosTitleCard.layout());+ expect(lines[0].font).toContain(family);+ expect(await other.evaluate((font) => document.fonts.check(font), lines[0].font)).toBe(true);+ await other.close();+ }, 30000);+it('takes a live change from the panel and redraws the paused frame, and clears on null', async () => {await shotAt(5);await page.evaluate(() => globalThis.__portosTitleCard.apply({ ...globalThis.__portosTitleCard.card, position: 'upper-right' }));diff --git a/server/lib/musicVideoTitleCard.js b/server/lib/musicVideoTitleCard.jsindex 2fbb75963a..ea9c54d2ab 100644--- a/server/lib/musicVideoTitleCard.js+++ b/server/lib/musicVideoTitleCard.js@@ -11,16 +11,35 @@* its own canvas above the page, re-drawn for every seek. Two looks:* - `outline` follows the shared lyric type (lyricType.js): cream fill with* an ink outline, no plate, title first, so it reads like the lyrics;- * - `mtv` is the classic 80s lower third: artist in caps over the quoted- * title in its own colour, then the extra line and year, on a dark plate- * with a coloured bar down its leading edge.+ * - `mtv` is the classic 80s lower third: artist over the quoted title in+ * its own colour, then the extra line and year, on a dark plate with a+ * coloured bar down its leading edge.* Both sit inside the same title-safe insets and shrink to fit the frame.+ * Text is drawn exactly as typed (no forced case).+ *+ * Fonts: four system/lyric stacks plus bundled OFL faces (TITLE_CARD_FONT_FACES,+ * files in services/musicVideo/titleCardFonts/). The runtime registers the+ * bundled faces from data URLs its caller passes in, so the card draws the same+ * face on every page it rides on, whatever that page itself declares.** Every frame is a pure function of song time. Browser-safe, no imports.*/export const TITLE_CARD_POSITIONS = Object.freeze(['lower-left', 'lower-right', 'upper-left', 'upper-right', 'lower-center', 'center']);-export const TITLE_CARD_FONTS = Object.freeze(['display', 'sans', 'serif', 'mono']);+/**+ * Bundled title-card faces (SIL OFL 1.1, latin subsets from Fontsource): font id+ * → the family the runtime registers and the file it is loaded from. The+ * layout's font stacks name the same families.+ */+export const TITLE_CARD_FONT_FACES = Object.freeze({+ oswald: Object.freeze({ family: 'MV Title Oswald', file: 'oswald-700.woff2' }),+ audiowide: Object.freeze({ family: 'MV Title Audiowide', file: 'audiowide-400.woff2' }),+ orbitron: Object.freeze({ family: 'MV Title Orbitron', file: 'orbitron-700.woff2' }),+ righteous: Object.freeze({ family: 'MV Title Righteous', file: 'righteous-400.woff2' }),+ pacifico: Object.freeze({ family: 'MV Title Pacifico', file: 'pacifico-400.woff2' }),+ playfair: Object.freeze({ family: 'MV Title Playfair', file: 'playfair-display-700.woff2' }),+});+export const TITLE_CARD_FONTS = Object.freeze(['display', 'sans', 'serif', 'mono', ...Object.keys(TITLE_CARD_FONT_FACES)]);export const TITLE_CARD_STYLES = Object.freeze(['outline', 'mtv']);/** The `mtv` look's title and bar colours when the card names none. */export const TITLE_CARD_MTV_COLORS = Object.freeze({ title: '#f5d33a', accent: '#1fc2e5' });@@ -112,7 +131,7 @@ function titleCardAlpha(card, t) {* The card's lines placed on a width × height frame: `[{ text, font, px, x, y,* align, outline, fill }]` (y is the alphabetic baseline). In the `outline`* look the title is the first, larger line and artist, year and the extra line- * follow; in the `mtv` look the artist leads in caps, then the title, the extra+ * follow; in the `mtv` look the artist leads, then the title, the extra* line and the year, and the block is inset by its plate's padding. A block* wider than its zone shrinks as a whole, so the card never runs off frame.* `measure(text, font)` returns a width in pixels. Pure.@@ -123,6 +142,13 @@ function titleCardLayout(card, { width, height, measure }) {sans: ['"Helvetica Neue", Helvetica, Arial, sans-serif', 700, 400],serif: ['Georgia, "Times New Roman", serif', 700, 400],mono: ['"MV Mono", Menlo, Consolas, monospace', 500, 500],+ // Bundled single-weight faces (TITLE_CARD_FONT_FACES), registered by the runtime.+ oswald: ['"MV Title Oswald", "Arial Narrow", sans-serif', 700, 700],+ audiowide: ['"MV Title Audiowide", "Arial Black", sans-serif', 400, 400],+ orbitron: ['"MV Title Orbitron", "Arial Black", sans-serif', 700, 700],+ righteous: ['"MV Title Righteous", "Arial Black", sans-serif', 400, 400],+ pacifico: ['"MV Title Pacifico", "Brush Script MT", cursive', 400, 400],+ playfair: ['"MV Title Playfair", Georgia, serif', 700, 700],};const [family, titleWeight, metaWeight] = stacks[card.font] || stacks.display;const clean = (s) => String(s || '').replace(/\s+/g, ' ').trim();@@ -132,7 +158,7 @@ function titleCardLayout(card, { width, height, measure }) {const title = clean(card.title);const titleRow = title ? { text: card.quoteTitle ? `“${title}”` : title, role: 'title' } : null;const meta = (key) => (clean(card[key]) ? { text: clean(card[key]), role: 'meta' } : null);- const artist = clean(card.artist) ? { text: mtv ? clean(card.artist).toUpperCase() : clean(card.artist), role: mtv ? 'lead' : 'meta' } : null;+ const artist = clean(card.artist) ? { text: clean(card.artist), role: mtv ? 'lead' : 'meta' } : null;const rows = (mtv ? [artist, titleRow, meta('extra'), meta('year')] : [titleRow, artist, meta('year'), meta('extra')]).filter(Boolean);if (!rows.length) return [];const unit = Math.min(width, height) / 1080;@@ -237,12 +263,21 @@ function drawTitleCard(ctx, card, t, { width, height }) {* for the frame before the document paints, after its faces have loaded. The* canvas is fixed over the viewport, fitted to the render's aspect, and sits* under the film look's root filter like the lyrics do.+ *+ * `fonts` maps a bundled family (TITLE_CARD_FONT_FACES) to its data URL; each is+ * registered with `document.fonts` up front and loads only when the card uses it.*/-export function titleCardRuntimeSource(card = null) {+export function titleCardRuntimeSource(card = null, { fonts = {} } = {}) {+ const faces = Object.entries(fonts).filter(([family, src]) => typeof family === 'string' && /^data:font\/woff2;base64,[a-z0-9+/=]+$/i.test(src));return `(() => {${titleCardAlpha.toString()}${titleCardLayout.toString()}${drawTitleCard.toString()}+ if (typeof FontFace === 'function' && document.fonts && document.fonts.add) {+ for (const [family, src] of ${JSON.stringify(faces).replace(/</g, '\\u003c')}) {+ try { document.fonts.add(new FontFace(family, 'url(' + src + ')', { weight: '100 900' })); } catch { /* the stack's fallback draws instead */ }+ }+ }let card = ${JSON.stringify(normalizeTitleCard(card)).replace(/</g, '\\u003c')};let t = 0;let canvas = null;diff --git a/server/lib/musicVideoTitleCard.test.js b/server/lib/musicVideoTitleCard.test.jsindex 099036fbbd..ffd572412a 100644--- a/server/lib/musicVideoTitleCard.test.js+++ b/server/lib/musicVideoTitleCard.test.js@@ -1,5 +1,6 @@import { describe, expect, it } from 'vitest';-import { TITLE_CARD_DEFAULTS, normalizeTitleCard, titleCardPrefill, titleCardVisible } from './musicVideoTitleCard.js';+import { readFileSync } from 'node:fs';+import { TITLE_CARD_DEFAULTS, TITLE_CARD_FONT_FACES, TITLE_CARD_FONTS, normalizeTitleCard, titleCardPrefill, titleCardVisible } from './musicVideoTitleCard.js';describe('normalizeTitleCard', () => {it('fills defaults, clamps ranges and keeps the window open', () => {@@ -39,3 +40,19 @@ describe('titleCardPrefill', () => {expect(window(2)).toEqual([0.5, 3.5]);});});++describe('title card fonts', () => {+ it('keeps a bundled font choice, and the panel\'s swatch copies match the files renders embed', () => {+ expect(normalizeTitleCard({ font: 'oswald' }).font).toBe('oswald');+ expect(normalizeTitleCard({ font: 'comic' }).font).toBe('display');+ for (const id of Object.keys(TITLE_CARD_FONT_FACES)) expect(TITLE_CARD_FONTS).toContain(id);+ const copies = [+ ...Object.values(TITLE_CARD_FONT_FACES).map(({ file }) => [`../services/musicVideo/titleCardFonts/${file}`, file]),+ ['../services/musicVideo/documentTemplates/shared/fonts/archivo-variable.woff2', 'archivo-variable.woff2'],+ ['../services/musicVideo/documentTemplates/shared/fonts/ibm-plex-mono-500.woff2', 'ibm-plex-mono-500.woff2'],+ ];+ for (const [source, copy] of copies) {+ expect(readFileSync(new URL(`../../client/public/fonts/title-card/${copy}`, import.meta.url)).equals(readFileSync(new URL(source, import.meta.url)))).toBe(true);+ }+ });+});diff --git a/server/services/musicVideo/composition.js b/server/services/musicVideo/composition.jsindex b47505a0e2..8cefe787e7 100644--- a/server/services/musicVideo/composition.js+++ b/server/services/musicVideo/composition.js@@ -19,7 +19,8 @@ import { normalizeMusicVideoGrade } from '../../lib/musicVideoGrade.js';import { randomUUID } from 'crypto';import { trimTo } from '../../lib/textUtils.js';-import { normalizeTitleCard, titleCardRuntimeSource, titleCardVisible } from '../../lib/musicVideoTitleCard.js';+import { normalizeTitleCard, titleCardVisible } from '../../lib/musicVideoTitleCard.js';+import { titleCardRuntime } from './titleCardFonts.js';import { filmStyleIdSchema } from '../../lib/filmStyleGrammarValidation.js';import {musicVideoEidoverseSceneSchema,@@ -366,7 +367,7 @@ export function buildTypographyDocument({ cues, style = {}, width, height, duratconst color = /^#[0-9a-f]{6}$/i.test(style.color || '') ? style.color : '#ffffff';const fontStack = hud ? FONT_STACKS.mono : (FONT_STACKS[style.font] || FONT_STACKS.sans);const accent = /^#[0-9a-f]{6}$/i.test(style.accentColor || '') ? style.accentColor : '#ff5a1f';- const titleCardScript = titleCard ? `<script>${titleCardRuntimeSource(titleCard)}</script>` : '';+ const titleCardScript = titleCard ? `<script>${titleCardRuntime(titleCard)}</script>` : '';return `<!doctype html><html><head><meta charset="utf-8">${titleCardScript}<style>@font-face { font-family: "MV Archivo"; src: url(${LYRIC_FONT_FILE}) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; }html, body { margin: 0; padding: 0; background: transparent; overflow: hidden; }diff --git a/server/services/musicVideo/documentPreview.js b/server/services/musicVideo/documentPreview.jsindex 69f17185e1..0f58bf06c9 100644--- a/server/services/musicVideo/documentPreview.js+++ b/server/services/musicVideo/documentPreview.js@@ -1,7 +1,7 @@import { PREVIEW_DOCUMENT_BASE, inlineDocumentModule, previewDocumentPath } from './documentModules.js';import { musicVideoMediaMode } from '../../lib/musicVideoMediaPolicy.js';import { filmLookRuntimeSource } from '../../lib/filmLook.js';-import { titleCardRuntimeSource } from '../../lib/musicVideoTitleCard.js';+import { titleCardRuntime } from './titleCardFonts.js';/*** Music Video — HTML for a composition preview document.*@@ -292,7 +292,7 @@ export async function buildDocumentPreview(project, { draft = false, files: giveconst mode = musicVideoMediaMode(project);const csp = PREVIEW_CSP.replace('img-src data: blob:', mode === 'code-only' ? "img-src 'none'" : 'img-src data: blob:').replace('media-src data: blob:', mode !== 'code-images-video' ? "media-src 'none'" : 'media-src data: blob:');// The film look and title card runtimes always ship (their panels post live changes); the saved records are their start.- const head = `<meta http-equiv="Content-Security-Policy" content="${csp}"><script>${BOOTSTRAP}</script><script>${filmLookRuntimeSource(project.filmLook)}</script><script>${inlineScript(titleCardRuntimeSource(project.titleCard))}</script><script>window.PORTOS_MV = ${scriptJson(data)};window.PORTOS_MV_EVENT_STATE = ${narrativeFrameState.toString()};</script>`;+ const head = `<meta http-equiv="Content-Security-Policy" content="${csp}"><script>${BOOTSTRAP}</script><script>${filmLookRuntimeSource(project.filmLook)}</script><script>${inlineScript(titleCardRuntime(project.titleCard))}</script><script>window.PORTOS_MV = ${scriptJson(data)};window.PORTOS_MV_EVENT_STATE = ${narrativeFrameState.toString()};</script>`;const at = html.match(/<head[^>]*>/i);html = at ? `${html.slice(0, at.index + at[0].length)}${head}${html.slice(at.index + at[0].length)}` : `${head}${html}`;diff --git a/server/services/musicVideo/documentRender.js b/server/services/musicVideo/documentRender.jsindex ef0160a4b8..e0e60007d9 100644--- a/server/services/musicVideo/documentRender.js+++ b/server/services/musicVideo/documentRender.js@@ -1,7 +1,8 @@import { assertMusicVideoMediaSelections, musicVideoMediaMode } from '../../lib/musicVideoMediaPolicy.js';import { musicVideoGradeFilter } from '../../lib/musicVideoGrade.js';import { filmLookRuntimeSource, isFilmLookNeutral } from '../../lib/filmLook.js';-import { titleCardRuntimeSource, titleCardVisible } from '../../lib/musicVideoTitleCard.js';+import { titleCardVisible } from '../../lib/musicVideoTitleCard.js';+import { titleCardRuntime } from './titleCardFonts.js';/*** Music Video — render a project's composition document over the song.*@@ -70,7 +71,7 @@ export const documentAspect = musicVideoAspect;export function documentRenderInitScripts(project) {return [...(isFilmLookNeutral(project?.filmLook) ? [] : [filmLookRuntimeSource(project.filmLook)]),- ...(titleCardVisible(project?.titleCard) ? [titleCardRuntimeSource(project.titleCard)] : []),+ ...(titleCardVisible(project?.titleCard) ? [titleCardRuntime(project.titleCard)] : []),];}@@ -300,7 +301,7 @@ export async function openIsolatedDocumentPreview({ project, jobId, signal, onEvsignal?.throwIfAborted();const page = await openComposition(staged.directory, {signal, streamMedia: true, mediaMode: musicVideoMediaMode(project), ownedBrowser: true, isolation: 'required',- initScripts: [filmLookRuntimeSource(project?.filmLook), titleCardRuntimeSource(project?.titleCard)],+ initScripts: [filmLookRuntimeSource(project?.filmLook), titleCardRuntime(project?.titleCard)],previewBridge: true, refuseUnknown: 'empty', lockLoopback: true, onEvent,});await page.send('Emulation.setDeviceMetricsOverride', {diff --git a/server/services/musicVideo/titleCardFonts.js b/server/services/musicVideo/titleCardFonts.jsnew file mode 100644index 0000000000..c02f695d3d--- /dev/null+++ b/server/services/musicVideo/titleCardFonts.js@@ -0,0 +1,25 @@+/**+ * The opening title card's bundled faces (lib/musicVideoTitleCard.js+ * TITLE_CARD_FONT_FACES, SIL OFL 1.1 — licences beside the files in+ * titleCardFonts/) as data URLs, and the card runtime with them registered.+ * The data URLs ride inside the runtime script, so the card draws its face on+ * every page it is installed in (live preview, lyric pages, document renders,+ * the composed overlay) without each page shipping font files.+ */+import { readFileSync } from 'fs';+import { TITLE_CARD_FONT_FACES, titleCardRuntimeSource } from '../../lib/musicVideoTitleCard.js';++let cached = null;++/** `{ family: dataUrl }` for every bundled face, read once per process. */+function titleCardFontSources() {+ if (!cached) {+ cached = Object.fromEntries(Object.values(TITLE_CARD_FONT_FACES).map(({ family, file }) => [+ family, `data:font/woff2;base64,${readFileSync(new URL(`./titleCardFonts/${file}`, import.meta.url)).toString('base64')}`,+ ]));+ }+ return cached;+}++/** titleCardRuntimeSource with the bundled faces registered. */+export const titleCardRuntime = (card) => titleCardRuntimeSource(card, { fonts: titleCardFontSources() });diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Audiowide.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Audiowide.txtnew file mode 100644index 0000000000..24345a0fe7--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Audiowide.txt@@ -0,0 +1,93 @@+Copyright (c) 2012 by Brian J. Bonislawsky DBA Astigmatic (AOETI) ([email protected]), with Reserved Font Name "Audiowide"++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Orbitron.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Orbitron.txtnew file mode 100644index 0000000000..2919e8f94d--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Orbitron.txt@@ -0,0 +1,93 @@+Copyright 2018 The Orbitron Project Authors (https://github.com/theleagueof/orbitron)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Oswald.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Oswald.txtnew file mode 100644index 0000000000..76a02175db--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Oswald.txt@@ -0,0 +1,93 @@+Copyright 2016 The Oswald Project Authors (https://github.com/googlefonts/OswaldFont)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Pacifico.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Pacifico.txtnew file mode 100644index 0000000000..c2787420a3--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Pacifico.txt@@ -0,0 +1,93 @@+Copyright 2018 The Pacifico Project Authors (https://github.com/googlefonts/Pacifico)++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Playfair-Display.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Playfair-Display.txtnew file mode 100644index 0000000000..574d79fbd4--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Playfair-Display.txt@@ -0,0 +1,93 @@+Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display". PlayfairDisplay-Italic[wght].ttf: Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display".++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/LICENSE-Righteous.txt b/server/services/musicVideo/titleCardFonts/LICENSE-Righteous.txtnew file mode 100644index 0000000000..de77114f2c--- /dev/null+++ b/server/services/musicVideo/titleCardFonts/LICENSE-Righteous.txt@@ -0,0 +1,93 @@+Copyright (c) 2011 by Brian J. Bonislawsky DBA Astigmatic (AOETI) ([email protected]), with Reserved Font Name "Righteous"++This Font Software is licensed under the SIL Open Font License, Version 1.1.+This license is copied below, and is also available with a FAQ at:+http://scripts.sil.org/OFL+++-----------------------------------------------------------+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007+-----------------------------------------------------------++PREAMBLE+The goals of the Open Font License (OFL) are to stimulate worldwide+development of collaborative font projects, to support the font creation+efforts of academic and linguistic communities, and to provide a free and+open framework in which fonts may be shared and improved in partnership+with others.++The OFL allows the licensed fonts to be used, studied, modified and+redistributed freely as long as they are not sold by themselves. The+fonts, including any derivative works, can be bundled, embedded,+redistributed and/or sold with any software provided that any reserved+names are not used by derivative works. The fonts and derivatives,+however, cannot be released under any other type of license. The+requirement for fonts to remain under this license does not apply+to any document created using the fonts or their derivatives.++DEFINITIONS+"Font Software" refers to the set of files released by the Copyright+Holder(s) under this license and clearly marked as such. This may+include source files, build scripts and documentation.++"Reserved Font Name" refers to any names specified as such after the+copyright statement(s).++"Original Version" refers to the collection of Font Software components as+distributed by the Copyright Holder(s).++"Modified Version" refers to any derivative made by adding to, deleting,+or substituting -- in part or in whole -- any of the components of the+Original Version, by changing formats or by porting the Font Software to a+new environment.++"Author" refers to any designer, engineer, programmer, technical+writer or other person who contributed to the Font Software.++PERMISSION & CONDITIONS+Permission is hereby granted, free of charge, to any person obtaining+a copy of the Font Software, to use, study, copy, merge, embed, modify,+redistribute, and sell modified and unmodified copies of the Font+Software, subject to the following conditions:++1) Neither the Font Software nor any of its individual components,+in Original or Modified Versions, may be sold by itself.++2) Original or Modified Versions of the Font Software may be bundled,+redistributed and/or sold with any software, provided that each copy+contains the above copyright notice and this license. These can be+included either as stand-alone text files, human-readable headers or+in the appropriate machine-readable metadata fields within text or+binary files as long as those fields can be easily viewed by the user.++3) No Modified Version of the Font Software may use the Reserved Font+Name(s) unless explicit written permission is granted by the corresponding+Copyright Holder. This restriction only applies to the primary font name as+presented to the users.++4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font+Software shall not be used to promote, endorse or advertise any+Modified Version, except to acknowledge the contribution(s) of the+Copyright Holder(s) and the Author(s) or with their explicit written+permission.++5) The Font Software, modified or unmodified, in part or in whole,+must be distributed entirely under this license, and must not be+distributed under any other license. The requirement for fonts to+remain under this license does not apply to any document created+using the Font Software.++TERMINATION+This license becomes null and void if any of the above conditions are+not met.++DISCLAIMER+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM+OTHER DEALINGS IN THE FONT SOFTWARE.diff --git a/server/services/musicVideo/titleCardFonts/audiowide-400.woff2 b/server/services/musicVideo/titleCardFonts/audiowide-400.woff2new file mode 100644index 0000000000..adde2d4443Binary files /dev/null and b/server/services/musicVideo/titleCardFonts/audiowide-400.woff2 differdiff --git a/server/services/musicVideo/titleCardFonts/orbitron-700.woff2 b/server/services/musicVideo/titleCardFonts/orbitron-700.woff2new file mode 100644index 0000000000..46db8ddaa0Binary files /dev/null and b/server/services/musicVideo/titleCardFonts/orbitron-700.woff2 differdiff --git a/server/services/musicVideo/titleCardFonts/oswald-700.woff2 b/server/services/musicVideo/titleCardFonts/oswald-700.woff2new file mode 100644index 0000000000..e1290c1e8cBinary files /dev/null and b/server/services/musicVideo/titleCardFonts/oswald-700.woff2 differdiff --git a/server/services/musicVideo/titleCardFonts/pacifico-400.woff2 b/server/services/musicVideo/titleCardFonts/pacifico-400.woff2new file mode 100644index 0000000000..4bffc9ce89Binary files /dev/null and b/server/services/musicVideo/titleCardFonts/pacifico-400.woff2 differdiff --git a/server/services/musicVideo/titleCardFonts/playfair-display-700.woff2 b/server/services/musicVideo/titleCardFonts/playfair-display-700.woff2new file mode 100644index 0000000000..39eefe0333Binary files /dev/null and b/server/services/musicVideo/titleCardFonts/playfair-display-700.woff2 differdiff --git a/server/services/musicVideo/titleCardFonts/righteous-400.woff2 b/server/services/musicVideo/titleCardFonts/righteous-400.woff2new file mode 100644index 0000000000..a92082f829Binary files /dev/null and b/server/services/musicVideo/titleCardFonts/righteous-400.woff2 differ