aboutsummaryrefslogtreecommitdiff
path: root/generic/Text.c
AgeCommit message (Collapse)Author
2005-05-25Need to reinstate the GL rendering context after usinglecoanet
Tk_MeasureChars or Tk_TextWidth under windows.
2005-05-10Merge of the newly developped postscript code (still not fully functional).lecoanet
2005-04-27Modified the copyright to BSD style.lecoanet
2005-04-13Expanded the tabs into spaces to make the indenting independant oflecoanet
the editing environment (emacs vs vi for example).
2005-03-22Suppressed __unused attribute, this will be dealed withlecoanet
by the gcc directive -Wno-unused-parameter and VC++ does not care about these anyway.
2005-02-12Fixed the __unused macro to avoid a clash with dummy variables used in 64 ↵lecoanet
bits headers
2004-10-04Fixed a core dump occuring when a 0 widthlecoanet
text is scaled or rotated (under X).
2004-05-19Fixed a bbox initialisation bug when the text is empty.lecoanet
2004-05-10Changed the point when the GL fonts are loaded. It is nowlecoanet
at init or configure time (there is a deferring list).
2004-04-30New ZnQueryAttribute signaturelecoanet
Reworked class structure. Some casts for a smooth compile on Windows. Use of TkPutImage instead of XPutImage for Windows portability. Use of the new global variables. Change in the Render method to reflect the new text drawing code.
2004-03-23Changes related to OpenGL context handling (only one context per display) ↵lecoanet
and patches to avoid using widget structure in image cache */
2004-03-03Fixes for perl/Tk 804lecoanet
2004-03-03Changes to implement a new behavior for -position attribute and local ↵lecoanet
transforms.
2004-02-13Protected UTF8 patch for correct compilation under Perl/Tk 800lecoanet
2004-02-13 * (Render): Rendering of UTF8 strings is now (hopefully)lecoanet
correct in GL. * (PointToChar): Fixed a bug related to UTF char offset versus byte offset. * (ComputeTransfoAndOrigin): Rounded the origin on the integer lattice to get rid of display uglyness on GL.
2004-01-26 * Added the scaling/rotation capabilities both in X and GL.lecoanet
* (ComputeCursorAndSel): Corrected an incorrect selection extent offset. The last character of the selection was never displayed as part of the selection. * The insertion cursor wasn't displayed on an the last line when empty.
2003-11-28Corrected a potential problem in the processing of end of lineslecoanet
in multi-lines texts.
2003-10-02Now patterns are automatically updated iflecoanet
their images changed. Changed the ZnConfigureAttributes api. The texture font allocation is postponed until need for drawing. At that time the GL engine is guaranteed in the right state.
2003-06-16Use of ZnGetGradientPixel in X.lecoanet
2003-05-16*** empty log message ***lecoanet
2003-05-16Fix the fix for Rendering text under ptk....hmmmm!!lecoanet
2003-05-16Commented out the utf8 conversion in Render (ptk)lecoanet
2003-05-16 * (ComputeCoordinates): Modified the processing oflecoanet
the white space/tab causing a line break when a -width limiting atribute is in effect. The extra space used to be located at the beginning of the new line. Now it is suppressed. Other white spaces are still displayed at the begining of the line. The new behavior seems more natural.
2003-05-09 * (Render, Draw): Drawing is done even for an empty text, just tolecoanet
display the cursor. * (ComputeCoordinates): The bounding box cannot be smaller than the font height to be able to display the cursor.
2003-04-24*** empty log message ***lecoanet
2003-04-16Update from the Windows port and general cleanup/restructurelecoanet
2003-04-02*** empty log message ***lecoanet
2003-01-20 * (ComputeCoordinates): Correction d'un bug supprimantlecoanet
syst�matiquement le premier blanc existant au d�but des lignes de texte � partir de la seconde.
2002-12-20 * Modifs pour le support UTF8 en TCL/TK. doit �tre transparentlecoanet
en perl/tk
2002-12-09 * Passage en display list du code de dessin.lecoanet
2002-11-05Ajout de controls a la methode Coords et ajout du param fan a TRI_STRIP1lecoanet
2002-10-10 * (MoveFromIndex): Correction de warnings sans objet.lecoanet
2002-09-02 * Remplacement de la convention qu'un texte vide est repr�sent�lecoanet
par une chaine vide par un texte vide est repr�sent� par un pointeur NULL.
2002-07-05Correction d'un core dump suite au patch pour affichage du curseur.lecoanet
Protection systematique contre text_info pouvant �tre NULL. Dans Draw le curseur �tait affich� m�me quand le focus n'�tait pas sur l'item.
2002-07-05 * (ComputeCursorAndSel,lecoanet
ComputeCoordinates): Corrections afin de permettre l'affichage du curseur lorsqu'il n'y a pas de caract�res.
2002-05-16Adaptation suite au remaniement du code des images.lecoanet
Ajout de l'attribut -composealpha. Mise en correspondance des types d'attributs avec la doc. Adaptation des prototypes de ToArea et Pick pour accomoder les nouvelles fonctionalit�s des commandes de find/addtag. Suppression de la variable de classe has_fields
2002-04-11Correction d'un core dans DeleteChars suite � un pointeurlecoanet
non d�r�f�renc�. Int�gration des nouveaux indices: bol, eol, bow, eow, up, down. Mise � jour des indices de s�lection et d'insertion lors d'une reconfiguration du texte (bug). L'indice sel.end retourne en fait l'index du caract�re de fin de s�lection plut�t que le point insertion entre celui-ci et le suivant.
2002-04-08Corrige core dump provoqu� par la destruction d'un clone dont onlecoanet
a chang� le texte. Corrige une erreur sur changement de fonte en openGL. La fonte n'�tait pas utilis�e lors du dessin (txf non remis � z�ro). Modifs suite � la restructuration de Item.c et � la cr�ation de Field.c Modifs suite � la g�n�ralisation du focus et � la possibilit� de mettre le focus sur un champ.
2002-03-29* Les flags sont dans un unsigned short (16 flags).lecoanet
* Correction du calcul de la longueur de ligne pour tenir correctment compte du \n de fin. Il s'affichait sous forme d'un petit carr�.
2002-03-15Ajustement des ressources couleurs pour tenir compte de lalecoanet
g�n�ralisation des gradients. Mise en facteur du code calculant le curseur et la selection. Premiere �tape vers le support GL. Suppression du inset.
2002-02-18Passage des couleurs en gradients pour uniformiserlecoanet
2002-02-15Passage des dimensions en flottant.lecoanet
2001-11-26Adaptation pour le clippnig non rectangulairelecoanet
2001-11-12Ajout� un garde fou dans Render au cas ou GetTexFont �chouerait. Le textelecoanet
n'est alors pas dessin�.
2001-10-24Ajout d'un alpha aux groupes et expression de l'alpha en pourcentlecoanet
2001-10-12Suppression du code LIBART.lecoanet
Ajout du rendu GL.
2001-01-04Ajout de la compilation conditionnelle de libartlecoanet
2000-11-13Ajout de la methode Render et d'un attribut -alpha valable enlecoanet
mode rendu local.
2000-09-27Supression de code mort.lecoanet
2000-08-31*** empty log message ***lecoanet