spotcolors.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. //============================================================+
  3. // File name : spotcolors.php
  4. // Version : 1.0.001
  5. // Begin : 2010-11-11
  6. // Last Update : 2011-10-03
  7. // Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
  8. // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
  9. // -------------------------------------------------------------------
  10. // Copyright (C) 2002-2011 Nicola Asuni - Tecnick.com S.r.l.
  11. //
  12. // This file is part of TCPDF software library.
  13. //
  14. // TCPDF is free software: you can redistribute it and/or modify it
  15. // under the terms of the GNU Lesser General Public License as
  16. // published by the Free Software Foundation, either version 3 of the
  17. // License, or (at your option) any later version.
  18. //
  19. // TCPDF is distributed in the hope that it will be useful, but
  20. // WITHOUT ANY WARRANTY; without even the implied warranty of
  21. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  22. // See the GNU Lesser General Public License for more details.
  23. //
  24. // You should have received a copy of the GNU Lesser General Public License
  25. // along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
  26. //
  27. // See LICENSE.TXT file for more information.
  28. // -------------------------------------------------------------------
  29. //
  30. // Description : Array of Spot Colors for TCPDF library
  31. //
  32. //============================================================+
  33. /**
  34. * @file
  35. * Arrays of Spot Colors for TCPDF library
  36. * @author Nicola Asuni
  37. * @package com.tecnick.tcpdf
  38. * @since 5.9.012 (2010-11-11)
  39. */
  40. /**
  41. * Array of Spot colors (C,M,Y,K,name)
  42. * Color keys must be in lowercase and without spaces.
  43. * As long as no open standard for spot colours exists, you have to buy a colour book by one of the colour manufacturers and insert the values and names of spot colours directly.
  44. * Common industry standard spot colors are: ANPA-COLOR, DIC, FOCOLTONE, GCMI, HKS, PANTONE, TOYO, TRUMATCH.
  45. */
  46. $spotcolor = array (
  47. // the following are just examples, fill the array with your own values
  48. 'mytcpdfblack' => array(0, 0, 0, 100, 'My TCPDF Black'),
  49. 'mytcpdfred' => array(30, 100, 90, 10, 'My TCPDF Red'),
  50. 'mytcpdfgreen' => array(100, 30, 100, 0, 'My TCPDF Green'),
  51. 'mytcpdfblue' => array(100, 60, 10, 5, 'My TCPDF Blue'),
  52. 'mytcpdfyellow' => array(0, 20, 100, 0, 'My TCPDF Yellow'),
  53. // ...
  54. );
  55. //============================================================+
  56. // END OF FILE
  57. //============================================================+