Commit Graph

26 Commits

Author SHA1 Message Date
Francois Cartegnie 3f11d25891 vlc_text_style: add blink style
required by captions
2017-09-29 15:10:17 +02:00
Francois Cartegnie 84bea4d164 text_style: add line breaking info 2017-06-05 20:47:56 +02:00
Francois Cartegnie 21c6d05e29 vlc_text_style: fix comment 2017-05-12 15:20:47 +02:00
Francois Cartegnie c88faa3c81 text_style: add DOUBLE_WIDTH
so we can match all width/height combinations
using width modifiers and font size scaling.
2017-01-26 19:22:22 +01:00
Francois Cartegnie 6f23f0a1e1 text_style: set default font size to freetype's
will mostly be overriden with this one
2016-12-06 19:52:17 +01:00
Jean-Baptiste Kempf 0ad88e130b Add RebeccaPurple color 2015-10-16 00:44:45 +02:00
Hugo Beauzée-Luyssen 126853e72c Move HTML color handling to text_style 2015-09-16 15:47:20 +02:00
Francois Cartegnie bb9834b5ff text_style: fix alpha values 2015-08-24 22:44:16 +02:00
Francois Cartegnie 02aeb84815 vlc_text_style: add text_style_Create()
removes temporary text_style_Reset() and finishes
migrating decoders.

We might want to deprecate text_style_New().
2015-08-13 14:45:59 +02:00
Francois Cartegnie e7e451fbc8 text_style: add text_style_Merge() 2015-08-12 18:40:47 +02:00
Francois Cartegnie acd27a2064 text_style: add style members presence flags
because you can't tell if members are
have set value or are unset.
2015-08-12 18:40:46 +02:00
Francois Cartegnie 1fb3dfd8c1 vlc_text_style: wrap tx3g specifics in decoder 2015-08-11 13:33:37 +02:00
Francois Cartegnie b7167cb393 text_style: use monospace flag instead of boolean 2015-08-05 22:47:19 +02:00
Francois Cartegnie 126679fe94 text_style: render monospaced fonts 2015-08-05 22:05:35 +02:00
Hugo Beauzée-Luyssen b8ce6743de tx3g: Replace subtext.h's segment_t with text_segment_t 2015-07-28 16:01:33 +02:00
Jean-Baptiste Kempf 1cc34d8ae4 Add text_segment_NewInheritStyle 2015-07-28 16:01:32 +02:00
Hugo Beauzée-Luyssen c1d3fe80b2 Add text_segment_Delete to delete a specific segment 2015-07-28 16:01:32 +02:00
Jean-Baptiste Kempf ef4a869841 Introduce text_segment structure and API
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-07-28 16:01:32 +02:00
Jean-Baptiste Kempf 87569b6b5e Comment text_style_t, reorder and type changes
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-07-28 16:01:32 +02:00
Naohiro KORIYAMA 7205922423 text_style/text_renderer: add support for halfwidth font
Fixed-by: Francois Cartegnie <fcvlcdev@free.fr>
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
2014-08-05 14:36:40 +09:00
Rémi Denis-Courmont ec871cc582 Text style: fix integer overflow
Occurs when shifting alpha = 255 by 24 bits.
2014-04-14 23:40:31 +03:00
Francois Cartegnie 2a60d695e5 text_style/renderer: unify default font size 2014-03-25 17:35:35 +01:00
Jean-Baptiste Kempf d2e1ceb015 Add a mono font name to the text_style_t 2013-09-09 17:09:34 +02:00
Jean-Baptiste Kempf 36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont 6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Laurent Aimar d6a118bda1 Splitted out text_style_t and related function to its own header. 2010-05-04 22:25:33 +02:00