Skip to content

Conversation

@asakasinsky
Copy link
Contributor

Added 2 fonts with cyrillic support

# -*- coding: utf-8 -*-

from pyfiglet import Figlet

f = Figlet( font='georgia11')
print f.renderText(u'Prince&Нищий')
                      ,,                                                                                                                 
`7MM"""Mq.            db                                ,gM""bg     `7MMF'  `7MMF'                                              69  69   
  MM   `MM.                                             8MI  ,8       MM      MM                                                 `--'    
  MM   ,M9 `7Mb,od8 `7MM  `7MMpMMMb.  ,p6"bo   .gP"Ya    WMp,"        MM      MM  `7MMF'`7MMF'`7MMF'`7MMF'`7MMF' `7MMF'`7MMF'`7MMF'`7MMF'
  MMmmdM9    MM' "'   MM    MM    MM 6M'  OO  ,M'   Yb  ,gPMN.  jM"'  MMmmmmmmMM    MM   ,MM    MM    MM    MM     MM   ,MM    MM   ,MM  
  MM         MM       MM    MM    MM 8M       8M"""""" ,M.  YMp.M'    MM      MM    MM ,' MM    MM    MM    MM     MM ,' MM    MM ,' MM  
  MM         MM       MM    MM    MM YM.    , YM.    , 8Mp   ,MMp     MM      MM    MM'   MM    MM    MM    MM     MM'   MM    MM'   MM  
.JMML.     .JMML.   .JMML..JMML  JMML.YMbmd'   `Mbmmd' `YMbmm'``MMm..JMML.  .JMML..JMML..JMML..JMMmmmmMMmmmmMMmm .JMML..JMML..JMML..JMML.
                                                                                                              VM                         
                                                                                                               V                         
# -*- coding: utf-8 -*-

from pyfiglet import Figlet

f = Figlet( font='banner')
print f.renderText(u'Prince&Нищий')

######                                  ##    ##   ##                                 
#     # #####  # #    #  ####  ######  #  #   ##   ##                            ##   
#     # #    # # ##   # #    # #        ##    ##   ## ##   ## ## # ## ##   ## ##   ## 
######  #    # # # #  # #      #####   ###    ####### ##  ### ## # ## ##  ### ##  ### 
#       #####  # #  # # #      #      #   # # ##   ## ## # ## ## # ## ## # ## ## # ## 
#       #   #  # #   ## #    # #      #    #  ##   ## ###  ## ## # ## ###  ## ###  ## 
#       #    # # #    #  ####  ######  ###  # ##   ## ##   ## ####### ##   ## ##   ## 
                                                                    #                 

pwaller added a commit that referenced this pull request Apr 14, 2014
@pwaller pwaller merged commit 069ed18 into pwaller:master Apr 14, 2014
@pwaller
Copy link
Owner

pwaller commented Apr 14, 2014

Again, apologies for the delay!

@asakasinsky asakasinsky deleted the cyrillic-fonts branch April 15, 2014 08:32
@asakasinsky
Copy link
Contributor Author

Everything is all right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants