hello,
With ALV it is very limited as to how much you cna change the form. The best way to change font is use forms (smartforms or adobe). With the ALV you need to provide the line size and line count using the below FM.
See below code
v_locl = p_pdest.
v_frmt = p_frmt.
v_lcnt = p_frmt+2(2).
v_lsize = p_frmt+5(3).
v_lsz = v_lsize.
replace '_' in v_lsz with ''.
condense v_lsz.
v_lsize = v_lsz.
call function 'GET_PRINT_PARAMETERS'
exporting
destination = v_locl
layout = v_frmt
line_count = v_lcnt
line_size = v_lsize
new_list_id = 'X'
no_dialog = 'X'
list_name = wa_plist
importing
out_parameters = v_params
valid = valid_flag
exceptions
others = 4.
call function 'SET_PRINT_PARAMETERS'
exporting
destination = v_locl
cover_page = ''
line_count = v_lcnt
line_size = v_lsize
sap_cover_page = ''.
My suggestion for better control on font size in pdf's use forms.
best regards,
swanand