You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PDFFontType1.java 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* $Id$ */
  17. package org.apache.fop.pdf;
  18. import org.apache.fop.fonts.FontType;
  19. /**
  20. * Class representing a Type1 or MMType1 font (not necessary for the base 14).
  21. * <p>
  22. * Type1 fonts are specified on page 201 and onwards of the PDF 1.3 spec.
  23. * <br>
  24. * MMType1 fonts are specified on page 205 and onwards of the PDF 1.3 spec.
  25. * <p>
  26. * In fact everything already done in the superclass.
  27. * Must only define the not default constructor.
  28. */
  29. public class PDFFontType1 extends PDFFontNonBase14 {
  30. /**
  31. * Create the /Font object
  32. *
  33. * @param fontname the internal name for the font
  34. * @param basefont the base font name
  35. * @param encoding the character encoding schema used by the font
  36. */
  37. public PDFFontType1(String fontname,
  38. String basefont,
  39. Object encoding) {
  40. /* generic creation of PDF object */
  41. super(fontname, FontType.TYPE1, basefont, encoding);
  42. }
  43. }