Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
undertype_notes [2013-06-25 09:49] – created nikundertype_notes [2013-06-25 15:03] nik
Line 1: Line 1:
 ==== Undertype Notes ==== ==== Undertype Notes ====
  
-notes for http://home.gna.org/undertype/+notes for http://home.gna.org/undertype/ a line based typsetting and layout programme
  
-keys+==== build notes for linux ====
  
 +  * git clone git: / / git.constantvzw.org/osp.tools.undertype.git
 +  * cd osp.tools.undertype.git
 +  * mkdir build
 +  * cd build
 +  * qmake
 +  * make
 +  * cd bin
 +  * RUN THE SOFTWARE
 +  * ./undertype
  
- QList<QGraphicsItem*> it selectedItems(); +==== build notes for OSX ==== 
- if ( it.isEmpty() && event->modifiers().testFlag ( Qt::ControlModifier )  && event->modifiers().testFlag ( Qt::ShiftModifier ) ) +  * svn co svn: / / svn.gna.org/svn/undertype/trunk undertype  
- { +  * sudo port install freetype qt4-mac 
- switch ( event->key() ) +  * qmake  
-+  * <del>add "INCLUDEPATH += /opt/local/include/freetype2" to src/src.pro</del> 
- case Qt::Key_Right : slotJustifyItsVeryBadInterletter ( 0.005 ); +  * make
- break; +
- case Qt::Key_Left : slotJustifyItsVeryBadInterletter ( -0.005 ); +
- break; +
- default:break; +
- }+
  
- } +==== rebuid ==== 
- else if ( it.isEmpty() && event->modifiers().testFlag ( Qt::ControlModifier ) ) +  * git pull 
-+  * make clean && qmake && make
- switch ( event->key() ) +
-+
- case Qt::Key_Right : slotJustifyBlanks ( 0.01 ); +
- break; +
- case Qt::Key_Left : slotJustifyBlanks ( -0.01 ); +
- break; +
- default:break; +
- }+
  
- } +==== terms / window names ==== 
- else if it.isEmpty() ) +  * 'Casses' ([en] "Type Case" (or just "Case"suggestion "Mixed Case"which control font use 
- +  'Composteur' ([en] "Composing stick"for layout and editing of a single line 
- QGraphicsView v = views().first(); +  * Forme/Page on which various lines are arranged
- switch ( event->key() ) +
-+
- case Qt::Key_Up: v->scale ( 1.2,1.2 ); +
- break; +
- case Qt::Key_Down : v->scale ( 1.0/1.2,1.0/1.2 ); +
- break; +
- case Qt::Key_Right : slotJustifyBlanks ( 0.1 ); +
- break; +
- case Qt::Key_Left : slotJustifyBlanks ( -0.1 ); +
- break; +
- default:break; +
- }+
  
-+====basic workflow====
- else +
-+
- if ( event->key() == Qt::Key_Delete ) +
-+
- for ( uint i 0; i < it.count();++i ) +
-+
- removeItem ( it[i] ); +
- glyphs.removeAll ( static_cast<ULGlyphItem*> ( it[i] ) ); +
-+
-+
- else if ( event->key() == Qt::Key_E ) +
-+
- wantEdit ( static_cast<ULGlyphItem*> ( it.first() ) ); +
- }+
  
- else +  * change focus to 'Casses'  
- { +  * press 'New'  
- for uint i = 0; i < it.count();++i ) +  * enter fontsize in dialog & open a font file (e.g something in OTF) 
- static_cast<ULGlyphItem*it[i] )->keyForeign ( event );+  * charaters should be availble in a tray 
 +  * if you want to enter characters using the keyboard (rather than by character nameensure "Use Cmap" is selected 
 +  type some text using the keyboard. this text should appear in the "Composteur" 
 +  * if required, select and move the various letters 
 +  * press return to display the line in the "forme" (same in [en]) 
 +  * move line around as required  
 +  * select line in the "forme" to make changes in the "Composteur"
  
- } +====keys==== 
-//  previewLine(); + 
- } +focus on 'Casses' ([en] "Type Case" (or just "Case") suggestion "Mixed Case"
-}+ 
 +focus on 'Composteur' ([en] "Composing stick"
 + 
 + 
 +| Shift & Key_Right | slotJustifyItsVeryBadInterletter ( 0.005 ) | 
 +| Shift & Key_Left | slotJustifyItsVeryBadInterletter ( -0.005 ) | 
 +| Control & Key_Right | slotJustifyBlanks ( 0.01 ) | 
 +| Control & Key_Left | slotJustifyBlanks | 
 + 
 + 
 +QGraphicsView * v = views().first(); 
 + 
 +| Key_Up | v->scale ( 1.2,1.2 ) | 
 +| Key_Down | v->scale ( 1.0/1.2,1.0/1.2 ) | 
 +| Key_Right | slotJustifyBlanks 0.1 | 
 +| Key_Left | slotJustifyBlanks ( -0.1 ) | 
 + 
 + 
 +| Key_Delete | glyphs.removeAll | 
 + 
 +| Key_E | wantEdit ( static_cast<ULGlyphItem*> ( it.first() ) ) | 
 + 
 +==== feature requests / bug reports ==== 
 +  * use backspace and delete keys interchangeably 
 +  * copy & paste (despite metaphorical inconsistency) 
 +  * enter key inserts a Unicode Character 'VULGAR FRACTION ONE HALF' (U+00BD) at the end of a line with qt4 on mac 
 +
  
  • undertype_notes.txt
  • Last modified: 2013-07-01 17:13
  • by 94.109.71.196