[CinCV TNG] [PATCH] Removed internal fonts

Sérgio Basto sergio at serjux.com
Thu Oct 22 04:53:38 CEST 2015


On Qua, 2015-10-21 at 23:26 +0200, xi wrote:
> Hi,
> 
> What about those, like me, who have some projects using the internal fonts?


> What will happen if I open an ancient project that used these internal 
> fonts? It will change the appearance of the video after a rendering with 
> this patch applied, right?

Depends how projects are saving. For example one pdf document, the pdf
could have definition of the font inside the document and font will
render exactly in the same way, or pdf could say that they have text x
with one font y, fontconfig will try render the font asked, if don't
have the exact font will choose the closest font, usually is very
similar and you will not notice the difference, but in some rare cases
can render a very different font.

Another thought, I think, you also can also install the fonts on your
system and it will render without differences.  

Note: nowadays the package fonts-liberation contains free variants of
the Times, Arial and Courier fonts. It's better to use those instead
unless you specifically need one internal font.

> If so, it's a bad idea, I would like to be able to still render my old 
> projects without changing the appearance of the video.
> Could you please at least keep these fonts as an option?
> 
> Thanks,
> Xavier
> 
> Sérgio M. Basto wrote:
> > Fonts are old and probably not redistributable
> > Modern distributions have enough scaleable fonts
> >
> > Signed-off-by: Sérgio M. Basto <sergio at serjux.com>
> > ---
> >   configure.ac        | 7 -------
> >   plugins/Makefile.am | 3 +--
> >   2 files changed, 1 insertion(+), 9 deletions(-)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 298e127..ab9e82e 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -127,12 +127,6 @@ AC_ARG_WITH(plugindir,
> >   						[ plugindir=$withval ],
> >   						[ plugindir="\${exec_prefix}/lib/cinelerra" ])
> >   AC_SUBST(plugindir)
> > -
> > -AC_ARG_WITH(fontsdir,
> > -						AC_HELP_STRING([--with-fontsdir], [sets the directory where the fonts should be installed]),
> > -						[ fontsdir=$withval ],
> > -						[ fontsdir="\${plugindir}/fonts" ])
> > -AC_SUBST(fontsdir)
> >   ############## END OF SPECIAL DIRECTORIES
> >
> >   ############## XLIB
> > @@ -812,7 +806,6 @@ AC_OUTPUT(Makefile cinelerra-cvs-current.spec po/Makefile.in \
> >   	plugins/timefront/Makefile \
> >   	plugins/svg/Makefile \
> >   	plugins/diffkey/Makefile \
> > -	plugins/fonts/Makefile \
> >   	image/Makefile)
> >
> >   succeeded=yes
> > diff --git a/plugins/Makefile.am b/plugins/Makefile.am
> > index 27dd72f..0e04c04 100644
> > --- a/plugins/Makefile.am
> > +++ b/plugins/Makefile.am
> > @@ -113,8 +113,7 @@ SUBDIRS= \
> >   	wipe \
> >   	yuv \
> >   	zoomblur \
> > -	$(MAYBE_FINDOBJECT) \
> > -	fonts
> > +	$(MAYBE_FINDOBJECT)
> >
> >   AUTOMAKE_OPTIONS=foreign
> >
> >
> 
> _______________________________________________
> Cinelerra mailing list
> Cinelerra at lists.cinelerra-cv.org
> http://lists.cinelerra-cv.org/cgi-bin/mailman/listinfo/cinelerra




More information about the Cinelerra mailing list