1. I had to make the following changes to make the following changes to make radio and checkbox buttons show up correctly:
a. Open html2pdf.class.php.
b. Goto lines 5857 and 5865 and change $w = 3 to $w = 5.
case 'checkbox': $w = 5; $h = $w; if ($h<$f) $y+= ($f-$h)*0.5; $checked = (isset($param['checked']) && $param['checked']=='checked'); $this->pdf->CheckBox($name, $w, $checked, $prop, array(), ($param['value'] ? $param['value'] : 'Yes'), $x, $y); break; case 'radio': $w = 5; $h = $w; if ($h<$f) $y+= ($f-$h)*0.5; $checked = (isset($param['checked']) && $param['checked']=='checked'); $this->pdf->RadioButton($name, $w, $prop, array(), ($param['value'] ? $param['value'] : 'On'), $checked, $x, $y); break;
2. When a radio button is clicked on, it's off centered. See attached radioClick.png and chechboxClick.png.
3. After they are clicked, they appear normal. See attached afterClick.png.
4. The radio buttons show normally in Goodle Chrome's built-in PDF viewer. See googleChrome.png. Notice how the radio and checkboxes look different from those in Adobe Acrobat Reader.



